Elementary.Min(Single, Single) Method

Returns the smallest of two numbers using IEEE-754r semantics.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static float Min(
	float x,
	float y
)

Parameters

x  Single
A real number.
y  Single
A real number.

Return Value

Single
The smaller of x and y.

Remarks

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.

See Also