Math Scalar Library
Programming Reference Manual C/C++
Version 1.0 DD-00003-010

4.3 strunc - Truncate to nearest integral part

#include <msca.h>

double strunc (double x);
float  struncf(float x);

Given a value x this function rounds x to the nearest integral part less or equal than |x| .