Unix/Linux Go Back    


NetBSD 6.1.5 - man page for rint (netbsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


RINT(3) 			   BSD Library Functions Manual 			  RINT(3)

NAME
     rint, rintf -- round to integral value in floating-point format

LIBRARY
     Math Library (libm, -lm)

SYNOPSIS
     #include <math.h>

     double
     rint(double x);

     float
     rintf(float x);

DESCRIPTION
     The rint() function returns the integral value (represented as a double precision number)
     nearest to x according to the prevailing rounding mode.

SEE ALSO
     abs(3), ceil(3), fabs(3), floor(3), math(3)

HISTORY
     A rint() function appeared in Version 6 AT&T UNIX.

BSD					  March 10, 1994				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 10:33 PM.