Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
fabs ? absolute value of floating-point number |
#include <math.h> double fabs(double x); |
The fabs() function returns the absolute value of the floating-point number x. |
SVID 3, POSIX, BSD 4.3, ISO 9899 |
abs(3), ceil(3), floor(3), labs(3), rint(3) |