Elementary.Max(Single[]) Method

Returns the largest value in an array using IEEE-754r semantics.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static float Max(
	params float[] values
)

Parameters

values  Single[]
An array of real numbers.

Return Value

Single
The largest value in values.

Remarks

In accordance with IEEE-754r, NaN is returned only if all elements of values are NaN. This behavior is different from the Max(Single, Single) function in the Base Class Libraries.

See Also