
24 Dec
2008
24 Dec
'08
12:56 a.m.
On Tue, Dec 23, 2008 at 19:34, Max
Yes, there exist several overloads of abs() functions or similar but some of them with different name, say fabs, fabsf, etc. This make it impossible to use it in generic code.
With the C++ headers, they're all available as std::abs (26.5 [lib.c.math]).