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 overow.
RELATED INFORMATION
Functions: fp_class(3).
STANDARDS CONFORMANCE
The XPG4 Version 2 specication leaves some features to the implementing vendor to dene.
The following features are affected in the HP implementation:
For IEEE oating-point data, this function does not set errno to [EDOM] if the value of
x or y is NaN.
527192-005 Hewlett-Packard Company 53