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

4.1 sfloor - Round down to nearest integral part

#include <msca.h>

double sfloor (double x);
float  sfloorf(float x);

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