26 references to Max
System.Numerics.Tensors (7)
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
1376destination = T.Max(x, destination); 1386destination = T.Max(x, y); 1396destination = T.Max(x, y);
System\Numerics\Tensors\netcore\TensorPrimitives.Clamp.cs (3)
220public static T Invoke(T x, T min, T max) => Vector128<T>.IsSupported || typeof(T) == typeof(Half) ? T.Min(T.Max(x, min), max) : T.Clamp(x, min, max); 233public static T Invoke(T min, T max, T x) => Vector128<T>.IsSupported || typeof(T) == typeof(Half) ? T.Min(T.Max(x, min), max) : T.Clamp(x, min, max); 246public static T Invoke(T max, T x, T min) => Vector128<T>.IsSupported || typeof(T) == typeof(Half) ? T.Min(T.Max(x, min), max) : T.Clamp(x, min, max);
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
106public static T Invoke(T x, T y) => T.Max(x, y);
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
525/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1244/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
981/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1717/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1227/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
625/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
667/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
664/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
687/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1312/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumber.cs (1)
34result = TSelf.Max(result, min);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1183/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
604/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
976/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1450/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
530/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
595/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
602/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
601/// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />