
23 Dec
2008
23 Dec
'08
5:56 p.m.
On Tue, Dec 23, 2008 at 19:34, Max <loadcom@sina.com> wrote:
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]).