Query: nearbyint
OS: opendarwin
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NEARBYINT(3) BSD Library Functions Manual NEARBYINT(3)NAMEnearbyint -- round to integral value in floating-point formatSYNOPSIS#include <math.h> double nearbyint(double x); float nearbyintf(float x);DESCRIPTIONThe nearbyint() and nearbyintf() functions return the integral value (represented as a double precision number) nearest to x according to the prevailing rounding mode.SPECIAL VALUESnearbyint(+-0) returns +-0 for all rounding modes. nearbyint(+-infinity) returns +-infinity for all rounding modes.SEE ALSOabs(3), fabs(3), ceil(3), floor(3), ieee(3), math(3)STANDARDSThe nearbyint() and nearbyintf() functions conform to ISO/IEC 9899:1999(E).BSDJanuary 29, 2003 BSD
Related Man Pages |
---|
nearbyintl(3) - mojave |
nearbyint(3m) - sunos |
nearbyintl(3m) - sunos |
rint(3) - freebsd |
rintl(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Perl:: mass replacement of converting C code formats to tgmath.h |