nextafter(3)
NAME
nextafter, nextafterf -- next representable value
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h> double nextafter(double x, double y); float nextafterf(float x, float y);
DESCRIPTION
nextafter() and nextafterf() return the next machine representable number from x in direction y.
SEE ALSO
ieee(3), math(3)
STANDARDS
The nextafter() and nextafterf() 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.
HISTORY
The nextafter() function appeared in 4.3BSD, and nextafterf() appeared in FreeBSD 2.0. FreeBSD 5.4 January 26, 2005 FreeBSD 5.4
SPONSORED LINKS
Man(1) output converted with man2html , sed , awk