nextUp

Calculate the next largest floating point value after x.

Return the least number greater than x that is representable as a real; thus, it gives the next point on the IEEE number line.

Special Values
xnextUp(x)
-∞-real.max
±0.0real.min_normal*real.epsilon
real.max
NaNNaN

Remarks: This function is included in the IEEE 754-2008 standard.

nextDoubleUp and nextFloatUp are the corresponding functions for the IEEE double and IEEE float number lines.

real
nextUp
(
real x
)

Meta