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

From Wikibooks, open books for an open world
Jump to: navigation, search

fabs[edit]

Syntax
#include <cmath>
double fabs( double arg );

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

Related topics
abs - fmod - labs