The document is archived and information here might be outdated
Returns the next representable neighbor.
- x, y
Double-precision floating-point values.
If x=y, _nextafter returns x, with no exception triggered. If either x or y is a quiet NaN, then the return value is one or the other of the input NaNs.
The _nextafter function returns the closest representable neighbor of x in the direction toward y.
For more compatibility information, see Compatibility in the Introduction.