fabs, fabsf
Visual Studio 2008
Calculates the absolute value of the floating-point argument.
double fabs( double x ); float fabs( float x ); // C++ only long double fabs( long double x ); // C++ only float fabsf( float x );
Function | Required header |
|---|---|
fabs, fabsf | <math.h> |
For additional compatibility information, see Compatibility in the Introduction.