fdim

fnreal fdim(real x, real y) @safe pure nothrow @nogc

Returns the positive difference between x and y.

Equivalent to fmax(x-y, 0).

Returns

x, y fdim(x, y)
x ≥ y x - y
x <= y +0.0