Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (n - r) nextafter(3)
ERRORS
If any of the following conditions occurs, the nextafter( ) function sets errno to the correspond-
ing value:
[ERANGE] The return value would cause an overflow.
RELATED INFORMATION
Functions: fp_class(3).
STANDARDS CONFORMANCE
The XPG4 Version 2 specification leaves some features to the implementing vendor to define.
The following features are affected in the HP implementation:
• For IEEE floating-point data, this function does not set errno to [EDOM] if the value of
x or y is NaN.
527187-017 Hewlett-Packard Company 5−9