nextDoubleUp

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.

  1. real nextUp(real x)
  2. double nextDoubleUp(double x)
    double
    nextDoubleUp
    (
    double x
    )
  3. float nextFloatUp(float x)

Meta