|
NAMEnextafter , nextafterf ,
nextafterl , nexttoward ,
nexttowardf , nexttowardl
—
next representable value
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
double
float
long double
double
float
long double
DESCRIPTIONThese functions return the next machine representable number from x in direction y.SEE ALSOieee(3), math(3)STANDARDSThenextafter (), nextafterf (),
nextafterl (), nexttoward (),
nexttowardf (), and
nexttowardl () routines conform to
ISO/IEC 9899:1999 (“ISO C99”).
They implement the Nextafter function recommended by IEEE Std
754-1985, with the extension that
nextafter (+0.0,
-0.0) returns -0.0 , and
nextafter (-0.0,
+0.0) returns +0.0 .
HISTORYThenextafter () function appeared in
4.3BSD, and nextafterf ()
appeared in FreeBSD 2.0.
Visit the GSP FreeBSD Man Page Interface. |