Next representable floating-point value following x
in the direction of y
.
gentype nextafter(gentype x,
gentype y)
Computes the next representable single-precision floating-point value following x
in the direction of y
.
Thus, if y
is less than x
, nextafter
() returns the largest representable floating-point number less than x
.