Home > Electronics Tutorials > C Language Tutorial > math.h - Other Match Functions - fabs

C Language Programming Library Reference Guide

math.h - Other Match Functions - fabs


double fabs(double x);

Returns the absolute value of x (a negative value becomes positive, positive value is unchanged).

Range: There is no range limit on the argument. The return value is always positive.
Note: To report broken links or to submit your projects, tutorials please email to Webmaster