NEXTAFTERSection: libc math functions (3)Updated: 2002-08-10 |
NEXTAFTERSection: libc math functions (3)Updated: 2002-08-10 |
double nextafter(double x, double y);
float nextafterf(float x, float y);
long double nextafterl(long double x, long double y);
double nexttoward(double x, long double y);
float nexttowardf(float x, long double y);
long double nexttowardl(long double x, long double y);
The nexttoward() functions do the same as the nextafter() functions, except that they have a long double second argument.
These functions will signal overflow or underflow if the result goes outside of the range of normalized numbers.