[Bug 248190] std::fabs is missing from <cstdlib> in 12.1-STABLE for C++17+

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 22 19:40:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248190

--- Comment #3 from Yuri Pankov <yuripv at FreeBSD.org> ---
(In reply to Yuri Victorovich from comment #2)
Quoting:
--------
Defined in header <cmath>
Defined in header <cstdlib> (since C++17)
float       abs( float arg );
double      abs( double arg );
long double abs( long double arg );

Defined in header <cmath>
float       fabs ( float arg );
float       fabsf( float arg ); (since C++11)
--------

I read it as only abs() being defined in <cstdlib> since c++17, and
fabs()/fabsf() having their own preceding comment about being in <cmath>, no?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list