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

Functions

long double truncl (long double x)
 Truncate value. More...
 

Function Documentation

◆ truncl()

long double truncl ( long double  x)

Truncate value.

The truncl functions round their argument to the integer value, in floating format, nearest to but no larger in magnitude than the argument.

Parameters
xValue to truncate.
Returns
The truncl functions return the truncated integer value.