Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
Guardian Native C 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.
527192-005 Hewlett-Packard Company 5−3