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

4.4 sround - Round to nearest integral part

#include <msca.h>

double sround (double x);
float  sroundf(float x);

Given a value x this function rounds x to the nearest integral part.