Elementary.Max(Single, Single) Method
Returns the largest of two numbers using IEEE-754r semantics.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The larger of x and y.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static float Max(
float x,
float y
)
Parameters
Return Value
SingleThe larger 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 Max(Single, Single) function in the Base Class Libraries.