Table of Contents
Previous Section Next Section

fabs

#include <cmath>float fabs(float num);double fabs(double num);
long double fabs(long double num);

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

A related function is abs( ).


Table of Contents
Previous Section Next Section