NEARBYINT

NAME
nearbyint -- round to integral value in floating-point format SYNOPSIS
#include <math.h> double nearbyint(double x); long double nearbyintl(long double x); float nearbyintf(float x); DESCRIPTION
The nearbyint() functions return the integral value (represented as a double 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), math(3) STANDARDS
The nearbyint() functions conform to ISO/IEC 9899:1999(E). BSD January 29, 2003 BSD

manual pages:

3 A B C D E F G H I L M N O P Q R S T U W X _
a b c d e f g h i j k l m n o p q r s t u v w x y z



www.osxterminal.com is a website by Andreas Wacker