MicrOS
fabs.c File Reference
#include "../math.h"

Functions

double fabs (double x)
 Compute absolute value. More...
 

Function Documentation

◆ fabs()

double fabs ( double  x)

Compute absolute value.

The fabs functions compute the absolute value of a floating-point number x.

Parameters
xValue among which the function selects a minimum.
Returns
The fabs functions return | x |.