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