UInt128.Clamp(UInt128, UInt128, UInt128) メソッド

定義

値を包括的な最小値と最大値にクランプします。

public:
 static UInt128 Clamp(UInt128 value, UInt128 min, UInt128 max) = System::Numerics::INumber<UInt128>::Clamp;
public static UInt128 Clamp(UInt128 value, UInt128 min, UInt128 max);
static member Clamp : UInt128 * UInt128 * UInt128 -> UInt128
Public Shared Function Clamp (value As UInt128, min As UInt128, max As UInt128) As UInt128

パラメーター

value
UInt128

クランプする値。

min
UInt128

valueがクランプする必要がある包括的な最小値。

max
UInt128

valueをクランプする必要がある包括的な最大値。

返品

valueminの包括的な範囲にmaxをクランプした結果。

実装

適用対象