Jump to content

C++ Programming/Code/Standard C Library/Functions/fabs

From Wikibooks, open books for an open world
Syntax
#include <cmath>
double fabs( double arg );

The function fabs() returns the absolute value of arg.

Related topics
abs - fmod - labs