21 references to Clamp
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.Clamp.cs (3)
222public static T Invoke(T x, T min, T max) => T.Clamp(x, min, max); 270public static T Invoke(T min, T max, T x) => T.Clamp(x, min, max); 318public static T Invoke(T max, T x, T min) => T.Clamp(x, min, max);
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
524/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1264/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
940/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1641/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1196/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
618/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
659/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
656/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
651/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1247/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
581/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
937/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1394/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
543/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
582/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
581/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
584/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
3942/// <inheritdoc cref="INumber{TSelf}.Clamp(TSelf, TSelf, TSelf)" />