Unix/Linux Go Back    


OpenDarwin 7.2.1 - man page for nearbyintf (opendarwin section 3)

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


NEARBYINT(3)			   BSD Library Functions Manual 		     NEARBYINT(3)

NAME
     nearbyint -- round to integral value in floating-point format

SYNOPSIS
     #include <math.h>

     double
     nearbyint(double x);

     float
     nearbyintf(float x);

DESCRIPTION
     The nearbyint() and nearbyintf() functions return the integral value (represented as a dou-
     ble precision number) nearest to x according to the prevailing rounding mode.

SPECIAL VALUES
     nearbyint(+-0) returns +-0 for all rounding modes.

     nearbyint(+-infinity) returns +-infinity for all rounding modes.

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

STANDARDS
     The nearbyint() and nearbyintf() functions conform to ISO/IEC 9899:1999(E).

BSD					 January 29, 2003				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


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