roundf3
Round to nearest integral value
Part of round(3).
Usage
#include <math.h>
double
round(double x);
float
roundf(float x);
long double
roundl(long double x);
Library
Math Library (libm, -lm)
Overview
The round(), roundf(), and roundl() functions return the nearest integral value to x; if x lies halfway between two integral values, then these functions return the integral value with the larger absolute value (i.e., they round away from zero).
Releases
52 releases since FreeBSD 5.3-RELEASE; the text changed 34 times.