Manual Pages for UNIX Darwin command on man nearbyintl
MyWebUniversity

Manual Pages for UNIX Darwin command on man nearbyintl

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

NAME

nneeaarrbbyyiinntt - round to integral value in floating-point format

SYNOPSIS

##iinncclluuddee <>

double nneeaarrbbyyiinntt(double x); long double nneeaarrbbyyiinnttll(long double x); float nneeaarrbbyyiinnttff(float x);

DESCRIPTION

The nneeaarrbbyyiinntt() functions return the integral value (represented as a

double precision number) nearest to x according to the prevailing round-

ing mode. SSPPEECCIIAALL VVAALLUUEESS

nneeaarrbbyyiinntt(+-0) returns +-0 for all rounding modes.

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

SEE ALSO

abs(3), fabs(3), ceil(3), floor(3), math(3) STANDARDS The nneeaarrbbyyiinntt() functions conform to ISO/IEC 9899:1999(E). BSD January 29, 2003 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™