core.internal.util.math

Internal math utilities.

fn max min

Functions 2

fnT 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.
fnT 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.