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

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

fabs[edit | edit source]

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

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

Related topics
abs - fmod - labs