Redigera

Dela via


INumber<TSelf>.MinNative(TSelf, TSelf) Method

Definition

Compares two values to compute which is lesser using platform-specific behavior for NaN and NegativeZero.

public:
 static override TSelf MinNative(TSelf x, TSelf y);
public static virtual TSelf MinNative(TSelf x, TSelf y);
static member MinNative : 'Self * 'Self -> 'Self
Public Shared Overrides Function MinNative (x As TSelf, y As TSelf) As TSelf

Parameters

x
TSelf

The value to compare with y.

y
TSelf

The value to compare with x.

Returns

TSelf

x if it is lesser than y; otherwise, y.

Applies to