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

Functions

float fabsf (float x)
 Compute absolute value. More...
 

Function Documentation

◆ fabsf()

float fabsf ( float  x)

Compute absolute value.

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

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