nextUp
fn
real nextUp(real x) @trusted pure nothrow @nogcCalculate 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.
| x, nextUp(x) | -∞, -real.max | ±0.0, real.min_normal*real.epsilon | real.max, ∞ | ∞, ∞ | NaN, NaN |
|---|
fn
double nextUp(double x) @trusted pure nothrow @nogcditto
fn
float nextUp(float x) @trusted pure nothrow @nogcditto