Returns the smallest of two numbers using IEEE-754r semantics.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static float Min(
float x,
float y
)
Public Shared Function Min (
x As Single,
y As Single
) As Single
public:
static float Min(
float x,
float y
)
static member Min :
x : float32 *
y : float32 -> float32
Parameters
- x
- Type: SystemSingle
A real number. - y
- Type: SystemSingle
A real number.
Return Value
Type:
SingleThe smaller of
x and
y.
In accordance with IEEE-754r, NaN is returned only if both
x and y are NaN.
This behavior is different from the Min(Single, Single) function
in the Base Class Libraries.
Reference