core.internal.util.math
Internal math utilities.
Copyright
The D Language Foundation 2021.
Functions 2
fn
T max(T)(T a, T b) pure nothrow @nogc @safeCalculates the maximum of the passed arguments Params: a = first value to select the maximum from b = second value to select the maximum from Returns: The maximum of the passed-in values.fn
T min(T)(T a, T b) pure nothrow @nogc @safeCalculates the minimum of the passed arguments Params: a = first value to select the minimum from b = second value to select the minimum from Returns: The minimum of the passed-in values.