7 implementations of MaxMagnitude
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
665static byte INumberBase<byte>.MaxMagnitude(byte x, byte y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1545static char INumberBase<char>.MaxMagnitude(char x, char y) => (char)Math.Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1590static UInt128 INumberBase<UInt128>.MaxMagnitude(UInt128 x, UInt128 y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
670static ushort INumberBase<ushort>.MaxMagnitude(ushort x, ushort y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
735static uint INumberBase<uint>.MaxMagnitude(uint x, uint y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
742static ulong INumberBase<ulong>.MaxMagnitude(ulong x, ulong y) => Max(x, y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
741static nuint INumberBase<nuint>.MaxMagnitude(nuint x, nuint y) => Max(x, y);
27 references to MaxMagnitude
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
1413destination = T.MaxMagnitude(x, destination); 1423destination = T.MaxMagnitude(x, destination); 1433destination = T.MaxMagnitude(x, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (1)
39T result = T.MaxMagnitude(x, y);
System\Numerics\Tensors\netcore\TensorPrimitives.MaxMagnitude.cs (1)
94public static T Invoke(T x, T y) => T.MaxMagnitude(x, y);
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
664/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1544/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1422/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1155/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1901/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1392/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
764/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
806/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
803/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
826/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1490/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1304/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
743/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1170/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1589/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
669/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
734/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
741/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
740/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (1)
4244/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
System\Numerics\Complex.cs (1)
661/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />
System\Numerics\Complex.Generic.cs (1)
1323/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" />