nextUp

fnreal nextUp(real x) @trusted pure nothrow @nogc

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.

x, nextUp(x) -∞, -real.max ±0.0, real.min_normal*real.epsilon real.max, ∞ ∞, ∞ NaN, NaN
fndouble nextUp(double x) @trusted pure nothrow @nogc

ditto

fnfloat nextUp(float x) @trusted pure nothrow @nogc

ditto