Query: rint
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RINT(3) BSD Library Functions Manual RINT(3)NAMErint, rintf -- round to integral value in floating-point formatLIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h> double rint(double x); float rintf(float x);DESCRIPTIONThe rint() function returns the integral value (represented as a double precision number) nearest to x according to the prevailing rounding mode.SEE ALSOabs(3), ceil(3), fabs(3), floor(3), math(3)HISTORYA rint() function appeared in Version 6 AT&T UNIX.BSDMarch 10, 1994 BSD