5 interfaces inheriting from INumberBase
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPointConstants.cs (1)
9: INumberBase<TSelf>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumber.cs (1)
16INumberBase<TSelf>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IPowerFunctions.cs (1)
9: INumberBase<TSelf>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\ISignedNumber.cs (1)
9: INumberBase<TSelf>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IUnsignedNumber.cs (1)
9: INumberBase<TSelf>
2 implementations of INumberBase
System.Runtime.Numerics (2)
System\Numerics\Complex.cs (1)
23INumberBase<Complex>,
System\Numerics\Complex.Generic.cs (1)
21INumberBase<Complex<T>>,
1714 references to INumberBase
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
611private static bool IsSigned<T>() where T : struct, INumberBase<T>, IMinMaxValue<T>
Microsoft.Diagnostics.DataContractReader.Contracts (1)
PrintfStressMessageFormatter.cs (1)
153where T : INumberBase<T>
System.Net.Http (1)
System\Net\Http\Headers\KnownHeaders.cs (1)
129where T : struct, INumberBase<T>
System.Numerics.Tensors (139)
System\Numerics\Tensors\netcore\Tensor.cs (17)
2519where T : INumberBase<T> 2532where T : INumberBase<T> 2956where T : INumberBase<T> 3027where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3028where TTo : INumberBase<TTo> 3042where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3043where TTo : INumberBase<TTo> 3058where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3059where TTo : INumberBase<TTo> 3073where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3074where TTo : INumberBase<TTo> 3089where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3090where TTo : INumberBase<TTo> 3104where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 3105where TTo : INumberBase<TTo> 4133where T : INumberBase<T> 4385where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorOperation.cs (10)
518where T : INumberBase<T> 834where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 835where TTo : INumberBase<TTo> 850where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 851where TTo : INumberBase<TTo> 866where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom> 867where TTo : INumberBase<TTo> 1446where T : INumberBase<T> 1594where T : INumberBase<T> 2128where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>, INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Abs.cs (2)
30where T : INumberBase<T> 41internal readonly struct AbsoluteOperator<T> : IUnaryOperator<T, T> where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Average.cs (1)
18where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertChecked.cs (4)
23where TFrom : INumberBase<TFrom> 24where TTo : INumberBase<TTo> 33internal readonly struct ConvertCheckedFallbackOperator<TFrom, TTo> : IUnaryOperator<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (2)
14where TFrom : INumberBase<TFrom> 15where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (4)
23where TFrom : INumberBase<TFrom> 24where TTo : INumberBase<TTo> 33internal readonly struct ConvertSaturatingFallbackOperator<TFrom, TTo> : IUnaryOperator<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (4)
23where TFrom : INumberBase<TFrom> 24where TTo : INumberBase<TTo> 218private readonly struct ConvertTruncatingFallbackOperator<TFrom, TTo> : IUnaryOperator<TFrom, TTo> where TFrom : INumberBase<TFrom> where TTo : INumberBase<TTo>
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (4)
339private static void Update<T>(T x, T y, ref T dotProduct, ref T xSumOfSquares, ref T ySumOfSquares) where T : INumberBase<T> 347private static void Update<T>(Vector128<T> xVec, Vector128<T> yVec, ref Vector128<T> dotProductVector, ref Vector128<T> xSumOfSquaresVector, ref Vector128<T> ySumOfSquaresVector) where T : INumberBase<T> 355private static void Update<T>(Vector256<T> xVec, Vector256<T> yVec, ref Vector256<T> dotProductVector, ref Vector256<T> xSumOfSquaresVector, ref Vector256<T> ySumOfSquaresVector) where T : INumberBase<T> 363private static void Update<T>(Vector512<T> xVec, Vector512<T> yVec, ref Vector512<T> dotProductVector, ref Vector512<T> xSumOfSquaresVector, ref Vector512<T> ySumOfSquaresVector) where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsCanonical.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 64where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsComplexNumber.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 65where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsEvenInteger.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 46where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsFinite.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 64where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsImaginaryNumber.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 65where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsInfinity.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 51where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsInteger.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 63where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsNaN.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 64where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsNegative.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 68where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsNegativeInfinity.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 51where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsNormal.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 46where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsOddInteger.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 46where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsPositive.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 46where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsPositiveInfinity.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 51where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsRealNumber.cs (4)
19where T : INumberBase<T> 42where T : INumberBase<T> => 53where T : INumberBase<T> => 64where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsSubnormal.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 51where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.IsZero.cs (4)
19where T : INumberBase<T> => 29where T : INumberBase<T> => 40where T : INumberBase<T> => 46where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
127where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.MaxMagnitude.cs (4)
27where T : INumberBase<T> 53where T : INumberBase<T> 77where T : INumberBase<T> 89where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.MaxMagnitudeNumber.cs (4)
28where T : INumberBase<T> 61where T : INumberBase<T> 92where T : INumberBase<T> 104where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.MinMagnitude.cs (4)
27where T : INumberBase<T> 58where T : INumberBase<T> 87where T : INumberBase<T> 99where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.MinMagnitudeNumber.cs (4)
28where T : INumberBase<T> 61where T : INumberBase<T> 92where T : INumberBase<T> 104where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.MultiplyAddEstimate.cs (4)
36where T : INumberBase<T> 69where T : INumberBase<T> 101where T : INumberBase<T> 113where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.StdDev.cs (1)
35where T : INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sum.cs (1)
46where T : INumberBase<T> =>
System.Private.CoreLib (1386)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArgumentOutOfRangeException.cs (3)
130where T : INumberBase<T> 140where T : INumberBase<T> 150where T : INumberBase<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (76)
544/// <inheritdoc cref="INumberBase{TSelf}.One" /> 545static byte INumberBase<byte>.One => One; 547/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 548static int INumberBase<byte>.Radix => 2; 550/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 551static byte INumberBase<byte>.Zero => Zero; 553/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 554static byte INumberBase<byte>.Abs(byte value) => value; 556/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 559where TOther : INumberBase<TOther> 575/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 578where TOther : INumberBase<TOther> 594/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 597where TOther : INumberBase<TOther> 613/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 614static bool INumberBase<byte>.IsCanonical(byte value) => true; 616/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 617static bool INumberBase<byte>.IsComplexNumber(byte value) => false; 619/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 622/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 623static bool INumberBase<byte>.IsFinite(byte value) => true; 625/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 626static bool INumberBase<byte>.IsImaginaryNumber(byte value) => false; 628/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 629static bool INumberBase<byte>.IsInfinity(byte value) => false; 631/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 632static bool INumberBase<byte>.IsInteger(byte value) => true; 634/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 635static bool INumberBase<byte>.IsNaN(byte value) => false; 637/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 638static bool INumberBase<byte>.IsNegative(byte value) => false; 640/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 641static bool INumberBase<byte>.IsNegativeInfinity(byte value) => false; 643/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 644static bool INumberBase<byte>.IsNormal(byte value) => value != 0; 646/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 649/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 650static bool INumberBase<byte>.IsPositive(byte value) => true; 652/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 653static bool INumberBase<byte>.IsPositiveInfinity(byte value) => false; 655/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 656static bool INumberBase<byte>.IsRealNumber(byte value) => true; 658/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 659static bool INumberBase<byte>.IsSubnormal(byte value) => false; 661/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 662static bool INumberBase<byte>.IsZero(byte value) => (value == 0); 664/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 665static byte INumberBase<byte>.MaxMagnitude(byte x, byte y) => Max(x, y); 667/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 668static byte INumberBase<byte>.MaxMagnitudeNumber(byte x, byte y) => Max(x, y); 670/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 671static byte INumberBase<byte>.MinMagnitude(byte x, byte y) => Min(x, y); 673/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 674static byte INumberBase<byte>.MinMagnitudeNumber(byte x, byte y) => Min(x, y); 676/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 677static byte INumberBase<byte>.MultiplyAddEstimate(byte left, byte right, byte addend) => (byte)((left * right) + addend); 679/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 681static bool INumberBase<byte>.TryConvertFromChecked<TOther>(TOther value, out byte result) => TryConvertFromChecked(value, out result); 685where TOther : INumberBase<TOther> 745/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 747static bool INumberBase<byte>.TryConvertFromSaturating<TOther>(TOther value, out byte result) => TryConvertFromSaturating(value, out result); 751where TOther : INumberBase<TOther> 812/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 814static bool INumberBase<byte>.TryConvertFromTruncating<TOther>(TOther value, out byte result) => TryConvertFromTruncating(value, out result); 818where TOther : INumberBase<TOther> 879/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 881static bool INumberBase<byte>.TryConvertToChecked<TOther>(byte value, [MaybeNullWhen(false)] out TOther result) 953/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 955static bool INumberBase<byte>.TryConvertToSaturating<TOther>(byte value, [MaybeNullWhen(false)] out TOther result) 1027/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1029static bool INumberBase<byte>.TryConvertToTruncating<TOther>(byte value, [MaybeNullWhen(false)] out TOther result) 1101/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1108/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1115/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1183/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1190/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (71)
1481/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1482static char INumberBase<char>.One => (char)1; 1484/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1485static int INumberBase<char>.Radix => 2; 1487/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1488static char INumberBase<char>.Zero => (char)0; 1490/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1491static char INumberBase<char>.Abs(char value) => value; 1493/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1494static bool INumberBase<char>.IsCanonical(char value) => true; 1496/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1497static bool INumberBase<char>.IsComplexNumber(char value) => false; 1499/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1500static bool INumberBase<char>.IsEvenInteger(char value) => (value & 1) == 0; 1502/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 1503static bool INumberBase<char>.IsFinite(char value) => true; 1505/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1506static bool INumberBase<char>.IsImaginaryNumber(char value) => false; 1508/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 1509static bool INumberBase<char>.IsInfinity(char value) => false; 1511/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1512static bool INumberBase<char>.IsInteger(char value) => true; 1514/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 1515static bool INumberBase<char>.IsNaN(char value) => false; 1517/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 1518static bool INumberBase<char>.IsNegative(char value) => false; 1520/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 1521static bool INumberBase<char>.IsNegativeInfinity(char value) => false; 1523/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 1524static bool INumberBase<char>.IsNormal(char value) => value != 0; 1526/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1527static bool INumberBase<char>.IsOddInteger(char value) => (value & 1) != 0; 1529/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1530static bool INumberBase<char>.IsPositive(char value) => true; 1532/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 1533static bool INumberBase<char>.IsPositiveInfinity(char value) => false; 1535/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1536static bool INumberBase<char>.IsRealNumber(char value) => true; 1538/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 1539static bool INumberBase<char>.IsSubnormal(char value) => false; 1541/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1542static bool INumberBase<char>.IsZero(char value) => (value == 0); 1544/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1545static char INumberBase<char>.MaxMagnitude(char x, char y) => (char)Math.Max(x, y); 1547/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1548static char INumberBase<char>.MaxMagnitudeNumber(char x, char y) => (char)Math.Max(x, y); 1550/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1551static char INumberBase<char>.MinMagnitude(char x, char y) => (char)Math.Min(x, y); 1553/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1554static char INumberBase<char>.MinMagnitudeNumber(char x, char y) => (char)Math.Min(x, y); 1556/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1557static char INumberBase<char>.MultiplyAddEstimate(char left, char right, char addend) => (char)((left * right) + addend); 1559static char INumberBase<char>.Parse(string s, NumberStyles style, IFormatProvider? provider) => Parse(s); 1561static char INumberBase<char>.Parse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider) => Parse(s); 1563/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1565static bool INumberBase<char>.TryConvertFromChecked<TOther>(TOther value, out char result) 1625/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1627static bool INumberBase<char>.TryConvertFromSaturating<TOther>(TOther value, out char result) 1688/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1690static bool INumberBase<char>.TryConvertFromTruncating<TOther>(TOther value, out char result) 1751/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1753static bool INumberBase<char>.TryConvertToChecked<TOther>(char value, [MaybeNullWhen(false)] out TOther result) 1825/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1827static bool INumberBase<char>.TryConvertToSaturating<TOther>(char value, [MaybeNullWhen(false)] out TOther result) 1899/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1901static bool INumberBase<char>.TryConvertToTruncating<TOther>(char value, [MaybeNullWhen(false)] out TOther result) 1973static bool INumberBase<char>.TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out char result) => TryParse(s, out result); 1975static bool INumberBase<char>.TryParse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider, out char result) => TryParse(s, out result); 1977static bool INumberBase<char>.TryParsePartial([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out char result, out int charsConsumed) 1989static bool INumberBase<char>.TryParsePartial(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider, out char result, out int charsConsumed) 2001static bool INumberBase<char>.TryParsePartial(ReadOnlySpan<byte> utf8Text, NumberStyles style, IFormatProvider? provider, out char result, out int bytesConsumed)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (69)
1269/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1270static decimal INumberBase<decimal>.One => One; 1272/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1273static int INumberBase<decimal>.Radix => 10; 1275/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1276static decimal INumberBase<decimal>.Zero => Zero; 1278/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1284/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1287where TOther : INumberBase<TOther> 1303/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1306where TOther : INumberBase<TOther> 1322/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1325where TOther : INumberBase<TOther> 1341/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1366/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1367static bool INumberBase<decimal>.IsComplexNumber(decimal value) => false; 1369/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1376/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 1377static bool INumberBase<decimal>.IsFinite(decimal value) => true; 1379/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1380static bool INumberBase<decimal>.IsImaginaryNumber(decimal value) => false; 1382/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 1383static bool INumberBase<decimal>.IsInfinity(decimal value) => false; 1385/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1388/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 1389static bool INumberBase<decimal>.IsNaN(decimal value) => false; 1391/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 1394/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 1395static bool INumberBase<decimal>.IsNegativeInfinity(decimal value) => false; 1397/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 1398static bool INumberBase<decimal>.IsNormal(decimal value) => (value._hi32 | value._lo64) != 0; 1400/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1407/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1410/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 1411static bool INumberBase<decimal>.IsPositiveInfinity(decimal value) => false; 1413/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1414static bool INumberBase<decimal>.IsRealNumber(decimal value) => true; 1416/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 1417static bool INumberBase<decimal>.IsSubnormal(decimal value) => false; 1419/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1420static bool INumberBase<decimal>.IsZero(decimal value) => (value._hi32 | value._lo64) == 0; 1422/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1440/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1441static decimal INumberBase<decimal>.MaxMagnitudeNumber(decimal x, decimal y) => MaxMagnitude(x, y); 1443/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1461/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1462static decimal INumberBase<decimal>.MinMagnitudeNumber(decimal x, decimal y) => MinMagnitude(x, y); 1464/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1465static decimal INumberBase<decimal>.MultiplyAddEstimate(decimal left, decimal right, decimal addend) => (left * right) + addend; 1467/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1469static bool INumberBase<decimal>.TryConvertFromChecked<TOther>(TOther value, out decimal result) => TryConvertFromChecked(value, out result); 1473where TOther : INumberBase<TOther> 1533/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1535static bool INumberBase<decimal>.TryConvertFromSaturating<TOther>(TOther value, out decimal result) 1540/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1542static bool INumberBase<decimal>.TryConvertFromTruncating<TOther>(TOther value, out decimal result) 1549where TOther : INumberBase<TOther> 1609/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1611static bool INumberBase<decimal>.TryConvertToChecked<TOther>(decimal value, [MaybeNullWhen(false)] out TOther result) 1683/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1685static bool INumberBase<decimal>.TryConvertToSaturating<TOther>(decimal value, [MaybeNullWhen(false)] out TOther result) 1690/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1692static bool INumberBase<decimal>.TryConvertToTruncating<TOther>(decimal value, [MaybeNullWhen(false)] out TOther result) 1699where TOther : INumberBase<TOther> 1776/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1783/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1790/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1825/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1832/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (50)
1050/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1051static double INumberBase<double>.One => One; 1053/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1054static int INumberBase<double>.Radix => 2; 1056/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1057static double INumberBase<double>.Zero => Zero; 1059/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1063/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1066where TOther : INumberBase<TOther> 1082/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1085where TOther : INumberBase<TOther> 1101/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1104where TOther : INumberBase<TOther> 1120/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1121static bool INumberBase<double>.IsCanonical(double value) => true; 1123/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1124static bool INumberBase<double>.IsComplexNumber(double value) => false; 1126/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1129/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1130static bool INumberBase<double>.IsImaginaryNumber(double value) => false; 1132/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1135/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1138/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1141/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1152/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1153static bool INumberBase<double>.IsZero(double value) => IsZero(value); 1155/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1159/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1185/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1189/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1215/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1226/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1228static bool INumberBase<double>.TryConvertFromChecked<TOther>(TOther value, out double result) 1233/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1235static bool INumberBase<double>.TryConvertFromSaturating<TOther>(TOther value, out double result) 1240/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1242static bool INumberBase<double>.TryConvertFromTruncating<TOther>(TOther value, out double result) 1249where TOther : INumberBase<TOther> 1315/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1317static bool INumberBase<double>.TryConvertToChecked<TOther>(double value, [MaybeNullWhen(false)] out TOther result) 1383/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1385static bool INumberBase<double>.TryConvertToSaturating<TOther>(double value, [MaybeNullWhen(false)] out TOther result) 1390/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1392static bool INumberBase<double>.TryConvertToTruncating<TOther>(double value, [MaybeNullWhen(false)] out TOther result) 1399where TOther : INumberBase<TOther> 1498/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1505/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1512/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2533/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2540/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (48)
1797/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1800/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1801static int INumberBase<Half>.Radix => 2; 1803/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1806/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1809/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1812where TOther : INumberBase<TOther> 1828/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1831where TOther : INumberBase<TOther> 1847/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1850where TOther : INumberBase<TOther> 1866/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1867static bool INumberBase<Half>.IsCanonical(Half value) => true; 1869/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1870static bool INumberBase<Half>.IsComplexNumber(Half value) => false; 1872/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1875/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1876static bool INumberBase<Half>.IsImaginaryNumber(Half value) => false; 1878/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1881/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1884/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1887/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1898/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1899static bool INumberBase<Half>.IsZero(Half value) => IsZero(value); 1901/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1904/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1929/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1932/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1957/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1960/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1962static bool INumberBase<Half>.TryConvertFromChecked<TOther>(TOther value, out Half result) 1967/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1969static bool INumberBase<Half>.TryConvertFromSaturating<TOther>(TOther value, out Half result) 1974/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1976static bool INumberBase<Half>.TryConvertFromTruncating<TOther>(TOther value, out Half result) 1983where TOther : INumberBase<TOther> 2049/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 2051static bool INumberBase<Half>.TryConvertToChecked<TOther>(Half value, [MaybeNullWhen(false)] out TOther result) 2117/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 2119static bool INumberBase<Half>.TryConvertToSaturating<TOther>(Half value, [MaybeNullWhen(false)] out TOther result) 2124/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 2126static bool INumberBase<Half>.TryConvertToTruncating<TOther>(Half value, [MaybeNullWhen(false)] out TOther result) 2133where TOther : INumberBase<TOther> 2221/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2228/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2235/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2376/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2383/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (69)
1260/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1263/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1264static int INumberBase<Int128>.Radix => 2; 1266/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1269/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1284/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1287where TOther : INumberBase<TOther> 1303/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1306where TOther : INumberBase<TOther> 1322/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1325where TOther : INumberBase<TOther> 1341/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1342static bool INumberBase<Int128>.IsCanonical(Int128 value) => true; 1344/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1345static bool INumberBase<Int128>.IsComplexNumber(Int128 value) => false; 1347/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1350/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 1351static bool INumberBase<Int128>.IsFinite(Int128 value) => true; 1353/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1354static bool INumberBase<Int128>.IsImaginaryNumber(Int128 value) => false; 1356/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 1357static bool INumberBase<Int128>.IsInfinity(Int128 value) => false; 1359/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1360static bool INumberBase<Int128>.IsInteger(Int128 value) => true; 1362/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 1363static bool INumberBase<Int128>.IsNaN(Int128 value) => false; 1365/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 1368/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 1369static bool INumberBase<Int128>.IsNegativeInfinity(Int128 value) => false; 1371/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 1372static bool INumberBase<Int128>.IsNormal(Int128 value) => value != 0; 1374/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1377/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1380/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 1381static bool INumberBase<Int128>.IsPositiveInfinity(Int128 value) => false; 1383/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1384static bool INumberBase<Int128>.IsRealNumber(Int128 value) => true; 1386/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 1387static bool INumberBase<Int128>.IsSubnormal(Int128 value) => false; 1389/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1390static bool INumberBase<Int128>.IsZero(Int128 value) => (value == 0); 1392/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1432/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1433static Int128 INumberBase<Int128>.MaxMagnitudeNumber(Int128 x, Int128 y) => MaxMagnitude(x, y); 1435/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1475/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1476static Int128 INumberBase<Int128>.MinMagnitudeNumber(Int128 x, Int128 y) => MinMagnitude(x, y); 1478/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1479static Int128 INumberBase<Int128>.MultiplyAddEstimate(Int128 left, Int128 right, Int128 addend) => (left * right) + addend; 1481/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1483static bool INumberBase<Int128>.TryConvertFromChecked<TOther>(TOther value, out Int128 result) => TryConvertFromChecked(value, out result); 1487where TOther : INumberBase<TOther> 1553/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1555static bool INumberBase<Int128>.TryConvertFromSaturating<TOther>(TOther value, out Int128 result) => TryConvertFromSaturating(value, out result); 1559where TOther : INumberBase<TOther> 1625/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1627static bool INumberBase<Int128>.TryConvertFromTruncating<TOther>(TOther value, out Int128 result) => TryConvertFromTruncating(value, out result); 1631where TOther : INumberBase<TOther> 1697/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1699static bool INumberBase<Int128>.TryConvertToChecked<TOther>(Int128 value, [MaybeNullWhen(false)] out TOther result) 1765/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1767static bool INumberBase<Int128>.TryConvertToSaturating<TOther>(Int128 value, [MaybeNullWhen(false)] out TOther result) 1840/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1842static bool INumberBase<Int128>.TryConvertToTruncating<TOther>(Int128 value, [MaybeNullWhen(false)] out TOther result) 1909/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1916/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1923/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2114/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2121/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (71)
644/// <inheritdoc cref="INumberBase{TSelf}.One" /> 645static short INumberBase<short>.One => One; 647/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 648static int INumberBase<short>.Radix => 2; 650/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 651static short INumberBase<short>.Zero => Zero; 653/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 656/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 659where TOther : INumberBase<TOther> 675/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 678where TOther : INumberBase<TOther> 694/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 697where TOther : INumberBase<TOther> 713/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 714static bool INumberBase<short>.IsCanonical(short value) => true; 716/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 717static bool INumberBase<short>.IsComplexNumber(short value) => false; 719/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 722/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 723static bool INumberBase<short>.IsFinite(short value) => true; 725/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 726static bool INumberBase<short>.IsImaginaryNumber(short value) => false; 728/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 729static bool INumberBase<short>.IsInfinity(short value) => false; 731/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 732static bool INumberBase<short>.IsInteger(short value) => true; 734/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 735static bool INumberBase<short>.IsNaN(short value) => false; 737/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 740/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 741static bool INumberBase<short>.IsNegativeInfinity(short value) => false; 743/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 744static bool INumberBase<short>.IsNormal(short value) => value != 0; 746/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 749/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 752/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 753static bool INumberBase<short>.IsPositiveInfinity(short value) => false; 755/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 756static bool INumberBase<short>.IsRealNumber(short value) => true; 758/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 759static bool INumberBase<short>.IsSubnormal(short value) => false; 761/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 762static bool INumberBase<short>.IsZero(short value) => (value == 0); 764/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 804/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 805static short INumberBase<short>.MaxMagnitudeNumber(short x, short y) => MaxMagnitude(x, y); 807/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 847/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 848static short INumberBase<short>.MinMagnitudeNumber(short x, short y) => MinMagnitude(x, y); 850/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 851static short INumberBase<short>.MultiplyAddEstimate(short left, short right, short addend) => (short)((left * right) + addend); 853/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 855static bool INumberBase<short>.TryConvertFromChecked<TOther>(TOther value, out short result) => TryConvertFromChecked(value, out result); 859where TOther : INumberBase<TOther> 925/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 927static bool INumberBase<short>.TryConvertFromSaturating<TOther>(TOther value, out short result) => TryConvertFromSaturating(value, out result); 931where TOther : INumberBase<TOther> 1012/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1014static bool INumberBase<short>.TryConvertFromTruncating<TOther>(TOther value, out short result) => TryConvertFromTruncating(value, out result); 1018where TOther : INumberBase<TOther> 1095/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1097static bool INumberBase<short>.TryConvertToChecked<TOther>(short value, [MaybeNullWhen(false)] out TOther result) 1163/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1165static bool INumberBase<short>.TryConvertToSaturating<TOther>(short value, [MaybeNullWhen(false)] out TOther result) 1232/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1234static bool INumberBase<short>.TryConvertToTruncating<TOther>(short value, [MaybeNullWhen(false)] out TOther result) 1300/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1307/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1314/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1389/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1396/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (71)
686/// <inheritdoc cref="INumberBase{TSelf}.One" /> 687static int INumberBase<int>.One => One; 689/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 690static int INumberBase<int>.Radix => 2; 692/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 693static int INumberBase<int>.Zero => Zero; 695/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 698/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 701where TOther : INumberBase<TOther> 717/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 720where TOther : INumberBase<TOther> 736/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 739where TOther : INumberBase<TOther> 755/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 756static bool INumberBase<int>.IsCanonical(int value) => true; 758/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 759static bool INumberBase<int>.IsComplexNumber(int value) => false; 761/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 764/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 765static bool INumberBase<int>.IsFinite(int value) => true; 767/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 768static bool INumberBase<int>.IsImaginaryNumber(int value) => false; 770/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 771static bool INumberBase<int>.IsInfinity(int value) => false; 773/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 774static bool INumberBase<int>.IsInteger(int value) => true; 776/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 777static bool INumberBase<int>.IsNaN(int value) => false; 779/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 782/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 783static bool INumberBase<int>.IsNegativeInfinity(int value) => false; 785/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 786static bool INumberBase<int>.IsNormal(int value) => value != 0; 788/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 791/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 794/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 795static bool INumberBase<int>.IsPositiveInfinity(int value) => false; 797/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 798static bool INumberBase<int>.IsRealNumber(int value) => true; 800/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 801static bool INumberBase<int>.IsSubnormal(int value) => false; 803/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 804static bool INumberBase<int>.IsZero(int value) => (value == 0); 806/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 846/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 847static int INumberBase<int>.MaxMagnitudeNumber(int x, int y) => MaxMagnitude(x, y); 849/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 889/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 890static int INumberBase<int>.MinMagnitudeNumber(int x, int y) => MinMagnitude(x, y); 892/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 893static int INumberBase<int>.MultiplyAddEstimate(int left, int right, int addend) => (left * right) + addend; 895/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 897static bool INumberBase<int>.TryConvertFromChecked<TOther>(TOther value, out int result) => TryConvertFromChecked(value, out result); 901where TOther : INumberBase<TOther> 967/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 969static bool INumberBase<int>.TryConvertFromSaturating<TOther>(TOther value, out int result) => TryConvertFromSaturating(value, out result); 973where TOther : INumberBase<TOther> 1057/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1059static bool INumberBase<int>.TryConvertFromTruncating<TOther>(TOther value, out int result) => TryConvertFromTruncating(value, out result); 1063where TOther : INumberBase<TOther> 1144/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1146static bool INumberBase<int>.TryConvertToChecked<TOther>(int value, [MaybeNullWhen(false)] out TOther result) 1212/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1214static bool INumberBase<int>.TryConvertToSaturating<TOther>(int value, [MaybeNullWhen(false)] out TOther result) 1283/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1285static bool INumberBase<int>.TryConvertToTruncating<TOther>(int value, [MaybeNullWhen(false)] out TOther result) 1351/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1358/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1365/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1440/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1447/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (71)
683/// <inheritdoc cref="INumberBase{TSelf}.One" /> 684static long INumberBase<long>.One => One; 686/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 687static int INumberBase<long>.Radix => 2; 689/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 690static long INumberBase<long>.Zero => Zero; 692/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 695/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 698where TOther : INumberBase<TOther> 714/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 717where TOther : INumberBase<TOther> 733/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 736where TOther : INumberBase<TOther> 752/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 753static bool INumberBase<long>.IsCanonical(long value) => true; 755/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 756static bool INumberBase<long>.IsComplexNumber(long value) => false; 758/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 761/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 762static bool INumberBase<long>.IsFinite(long value) => true; 764/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 765static bool INumberBase<long>.IsImaginaryNumber(long value) => false; 767/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 768static bool INumberBase<long>.IsInfinity(long value) => false; 770/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 771static bool INumberBase<long>.IsInteger(long value) => true; 773/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 774static bool INumberBase<long>.IsNaN(long value) => false; 776/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 779/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 780static bool INumberBase<long>.IsNegativeInfinity(long value) => false; 782/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 783static bool INumberBase<long>.IsNormal(long value) => value != 0; 785/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 788/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 791/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 792static bool INumberBase<long>.IsPositiveInfinity(long value) => false; 794/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 795static bool INumberBase<long>.IsRealNumber(long value) => true; 797/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 798static bool INumberBase<long>.IsSubnormal(long value) => false; 800/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 801static bool INumberBase<long>.IsZero(long value) => (value == 0); 803/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 843/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 844static long INumberBase<long>.MaxMagnitudeNumber(long x, long y) => MaxMagnitude(x, y); 846/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 886/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 887static long INumberBase<long>.MinMagnitudeNumber(long x, long y) => MinMagnitude(x, y); 889/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 890static long INumberBase<long>.MultiplyAddEstimate(long left, long right, long addend) => (long)((left * right) + addend); 892/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 894static bool INumberBase<long>.TryConvertFromChecked<TOther>(TOther value, out long result) => TryConvertFromChecked(value, out result); 898where TOther : INumberBase<TOther> 964/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 966static bool INumberBase<long>.TryConvertFromSaturating<TOther>(TOther value, out long result) => TryConvertFromSaturating(value, out result); 970where TOther : INumberBase<TOther> 1052/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1054static bool INumberBase<long>.TryConvertFromTruncating<TOther>(TOther value, out long result) => TryConvertFromTruncating(value, out result); 1058where TOther : INumberBase<TOther> 1139/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1141static bool INumberBase<long>.TryConvertToChecked<TOther>(long value, [MaybeNullWhen(false)] out TOther result) 1207/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1209static bool INumberBase<long>.TryConvertToSaturating<TOther>(long value, [MaybeNullWhen(false)] out TOther result) 1286/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1288static bool INumberBase<long>.TryConvertToTruncating<TOther>(long value, [MaybeNullWhen(false)] out TOther result) 1354/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1361/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1368/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1443/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1450/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (71)
706/// <inheritdoc cref="INumberBase{TSelf}.One" /> 707static nint INumberBase<nint>.One => 1; 709/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 710static int INumberBase<nint>.Radix => 2; 712/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 713static nint INumberBase<nint>.Zero => 0; 715/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 718/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 721where TOther : INumberBase<TOther> 737/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 740where TOther : INumberBase<TOther> 756/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 759where TOther : INumberBase<TOther> 775/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 776static bool INumberBase<nint>.IsCanonical(nint value) => true; 778/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 779static bool INumberBase<nint>.IsComplexNumber(nint value) => false; 781/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 784/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 785static bool INumberBase<nint>.IsFinite(nint value) => true; 787/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 788static bool INumberBase<nint>.IsImaginaryNumber(nint value) => false; 790/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 791static bool INumberBase<nint>.IsInfinity(nint value) => false; 793/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 794static bool INumberBase<nint>.IsInteger(nint value) => true; 796/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 797static bool INumberBase<nint>.IsNaN(nint value) => false; 799/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 802/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 803static bool INumberBase<nint>.IsNegativeInfinity(nint value) => false; 805/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 806static bool INumberBase<nint>.IsNormal(nint value) => value != 0; 808/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 811/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 814/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 815static bool INumberBase<nint>.IsPositiveInfinity(nint value) => false; 817/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 818static bool INumberBase<nint>.IsRealNumber(nint value) => true; 820/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 821static bool INumberBase<nint>.IsSubnormal(nint value) => false; 823/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 824static bool INumberBase<nint>.IsZero(nint value) => (value == 0); 826/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 866/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 867static nint INumberBase<nint>.MaxMagnitudeNumber(nint x, nint y) => MaxMagnitude(x, y); 869/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 909/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 910static nint INumberBase<nint>.MinMagnitudeNumber(nint x, nint y) => MinMagnitude(x, y); 912/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 913static nint INumberBase<nint>.MultiplyAddEstimate(nint left, nint right, nint addend) => (left * right) + addend; 915/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 917static bool INumberBase<nint>.TryConvertFromChecked<TOther>(TOther value, out nint result) => TryConvertFromChecked(value, out result); 921where TOther : INumberBase<TOther> 987/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 989static bool INumberBase<nint>.TryConvertFromSaturating<TOther>(TOther value, out nint result) => TryConvertFromSaturating(value, out result); 993where TOther : INumberBase<TOther> 1076/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1078static bool INumberBase<nint>.TryConvertFromTruncating<TOther>(TOther value, out nint result) => TryConvertFromTruncating(value, out result); 1082where TOther : INumberBase<TOther> 1163/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1165static bool INumberBase<nint>.TryConvertToChecked<TOther>(nint value, [MaybeNullWhen(false)] out TOther result) 1231/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1233static bool INumberBase<nint>.TryConvertToSaturating<TOther>(nint value, [MaybeNullWhen(false)] out TOther result) 1303/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1305static bool INumberBase<nint>.TryConvertToTruncating<TOther>(nint value, [MaybeNullWhen(false)] out TOther result) 1371/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1379/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1387/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1446/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1449/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (47)
1386/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1389/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1390static int INumberBase<BFloat16>.Radix => 2; 1392/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1395/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1398/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1401where TOther : INumberBase<TOther> 1417/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1420where TOther : INumberBase<TOther> 1436/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1439where TOther : INumberBase<TOther> 1455/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1456static bool INumberBase<BFloat16>.IsCanonical(BFloat16 value) => true; 1458/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1459static bool INumberBase<BFloat16>.IsComplexNumber(BFloat16 value) => false; 1461/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1464/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1465static bool INumberBase<BFloat16>.IsImaginaryNumber(BFloat16 value) => false; 1467/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1470/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1473/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1476/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1487/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1488static bool INumberBase<BFloat16>.IsZero(BFloat16 value) => IsZero(value); 1490/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1493/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1518/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1521/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1546/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1548static bool INumberBase<BFloat16>.TryConvertFromChecked<TOther>(TOther value, out BFloat16 result) 1553/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1555static bool INumberBase<BFloat16>.TryConvertFromSaturating<TOther>(TOther value, out BFloat16 result) 1560/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1562static bool INumberBase<BFloat16>.TryConvertFromTruncating<TOther>(TOther value, out BFloat16 result) 1569where TOther : INumberBase<TOther> 1683/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1685static bool INumberBase<BFloat16>.TryConvertToChecked<TOther>(BFloat16 value, [MaybeNullWhen(false)] out TOther result) 1799/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1801static bool INumberBase<BFloat16>.TryConvertToSaturating<TOther>(BFloat16 value, [MaybeNullWhen(false)] out TOther result) 1806/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1808static bool INumberBase<BFloat16>.TryConvertToTruncating<TOther>(BFloat16 value, [MaybeNullWhen(false)] out TOther result) 1815where TOther : INumberBase<TOther> 1944/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1951/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1958/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2097/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2104/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (34)
755/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 762/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 769/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 784/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1282/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1283static int INumberBase<Decimal128>.Radix => 10; 1285/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1286static bool INumberBase<Decimal128>.IsCanonical(Decimal128 value) => Number.IsCanonicalDecimalIeee754<Decimal128, UInt128>(new UInt128(value._upper, value._lower), nanReservedMask: new UInt128(0x01FF_C000_0000_0000, 0x0000_0000_0000_0000), nanPayloadMask: NaNPayloadMask, maxNaNPayload: new UInt128(0x0000_314D_C644_8D93, 0x38C1_5B09_FFFF_FFFF)); 1288/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1289static bool INumberBase<Decimal128>.IsComplexNumber(Decimal128 value) => false; 1291/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1292static bool INumberBase<Decimal128>.IsImaginaryNumber(Decimal128 value) => false; 1294/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1295static bool INumberBase<Decimal128>.IsZero(Decimal128 value) => Number.IsZeroDecimalIeee754<Decimal128, UInt128>(new UInt128(value._upper, value._lower)); 1303/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1306where TOther : INumberBase<TOther> 1322/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1325where TOther : INumberBase<TOther> 1341/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1344where TOther : INumberBase<TOther> 1360/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1362static bool INumberBase<Decimal128>.TryConvertFromChecked<TOther>(TOther value, out Decimal128 result) => TryConvertFrom(value, out result); 1364/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1366static bool INumberBase<Decimal128>.TryConvertFromSaturating<TOther>(TOther value, out Decimal128 result) => TryConvertFrom(value, out result); 1368/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1370static bool INumberBase<Decimal128>.TryConvertFromTruncating<TOther>(TOther value, out Decimal128 result) => TryConvertFrom(value, out result); 1374where TOther : INumberBase<TOther> 1482/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1484static bool INumberBase<Decimal128>.TryConvertToChecked<TOther>(Decimal128 value, [MaybeNullWhen(false)] out TOther result) 1605/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1607static bool INumberBase<Decimal128>.TryConvertToSaturating<TOther>(Decimal128 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1609/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1611static bool INumberBase<Decimal128>.TryConvertToTruncating<TOther>(Decimal128 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1615where TOther : INumberBase<TOther>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (34)
766/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 773/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 780/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 795/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1293/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1294static int INumberBase<Decimal32>.Radix => 10; 1296/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1297static bool INumberBase<Decimal32>.IsCanonical(Decimal32 value) => Number.IsCanonicalDecimalIeee754<Decimal32, uint>(value._value, nanReservedMask: 0x01F0_0000, nanPayloadMask: NaNPayloadMask, maxNaNPayload: 999_999); 1299/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1300static bool INumberBase<Decimal32>.IsComplexNumber(Decimal32 value) => false; 1302/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1303static bool INumberBase<Decimal32>.IsImaginaryNumber(Decimal32 value) => false; 1305/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1306static bool INumberBase<Decimal32>.IsZero(Decimal32 value) => Number.IsZeroDecimalIeee754<Decimal32, uint>(value._value); 1314/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1317where TOther : INumberBase<TOther> 1333/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1336where TOther : INumberBase<TOther> 1352/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1355where TOther : INumberBase<TOther> 1371/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1373static bool INumberBase<Decimal32>.TryConvertFromChecked<TOther>(TOther value, out Decimal32 result) => TryConvertFrom(value, out result); 1375/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1377static bool INumberBase<Decimal32>.TryConvertFromSaturating<TOther>(TOther value, out Decimal32 result) => TryConvertFrom(value, out result); 1379/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1381static bool INumberBase<Decimal32>.TryConvertFromTruncating<TOther>(TOther value, out Decimal32 result) => TryConvertFrom(value, out result); 1385where TOther : INumberBase<TOther> 1493/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1495static bool INumberBase<Decimal32>.TryConvertToChecked<TOther>(Decimal32 value, [MaybeNullWhen(false)] out TOther result) 1616/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1618static bool INumberBase<Decimal32>.TryConvertToSaturating<TOther>(Decimal32 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1620/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1622static bool INumberBase<Decimal32>.TryConvertToTruncating<TOther>(Decimal32 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1626where TOther : INumberBase<TOther>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (34)
759/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 766/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 773/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 788/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1286/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1287static int INumberBase<Decimal64>.Radix => 10; 1289/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1290static bool INumberBase<Decimal64>.IsCanonical(Decimal64 value) => Number.IsCanonicalDecimalIeee754<Decimal64, ulong>(value._value, nanReservedMask: 0x01FC_0000_0000_0000, nanPayloadMask: NaNPayloadMask, maxNaNPayload: 999_999_999_999_999); 1292/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1293static bool INumberBase<Decimal64>.IsComplexNumber(Decimal64 value) => false; 1295/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1296static bool INumberBase<Decimal64>.IsImaginaryNumber(Decimal64 value) => false; 1298/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1299static bool INumberBase<Decimal64>.IsZero(Decimal64 value) => Number.IsZeroDecimalIeee754<Decimal64, ulong>(value._value); 1307/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1310where TOther : INumberBase<TOther> 1326/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1329where TOther : INumberBase<TOther> 1345/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1348where TOther : INumberBase<TOther> 1364/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1366static bool INumberBase<Decimal64>.TryConvertFromChecked<TOther>(TOther value, out Decimal64 result) => TryConvertFrom(value, out result); 1368/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1370static bool INumberBase<Decimal64>.TryConvertFromSaturating<TOther>(TOther value, out Decimal64 result) => TryConvertFrom(value, out result); 1372/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1374static bool INumberBase<Decimal64>.TryConvertFromTruncating<TOther>(TOther value, out Decimal64 result) => TryConvertFrom(value, out result); 1378where TOther : INumberBase<TOther> 1486/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1488static bool INumberBase<Decimal64>.TryConvertToChecked<TOther>(Decimal64 value, [MaybeNullWhen(false)] out TOther result) 1609/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1611static bool INumberBase<Decimal64>.TryConvertToSaturating<TOther>(Decimal64 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1613/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1615static bool INumberBase<Decimal64>.TryConvertToTruncating<TOther>(Decimal64 value, [MaybeNullWhen(false)] out TOther result) => TryConvertTo(value, out result); 1619where TOther : INumberBase<TOther>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (10)
32where TSelf : INumberBase<TSelf>? 58where TOther : INumberBase<TOther> 83where TOther : INumberBase<TOther> 108where TOther : INumberBase<TOther> 359where TOther : INumberBase<TOther>; 369where TOther : INumberBase<TOther>; 379where TOther : INumberBase<TOther>; 390where TOther : INumberBase<TOther>; 400where TOther : INumberBase<TOther>; 410where TOther : INumberBase<TOther>;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (50)
1208/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1209static NFloat INumberBase<NFloat>.One => new NFloat(NativeType.One); 1211/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1212static int INumberBase<NFloat>.Radix => 2; 1214/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1215static NFloat INumberBase<NFloat>.Zero => new NFloat(NativeType.Zero); 1217/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1220/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1223where TOther : INumberBase<TOther> 1239/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1242where TOther : INumberBase<TOther> 1258/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1261where TOther : INumberBase<TOther> 1277/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1278static bool INumberBase<NFloat>.IsCanonical(NFloat value) => true; 1280/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1281static bool INumberBase<NFloat>.IsComplexNumber(NFloat value) => false; 1283/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1286/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1287static bool INumberBase<NFloat>.IsImaginaryNumber(NFloat value) => false; 1289/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1292/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1295/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1298/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1301/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1302static bool INumberBase<NFloat>.IsZero(NFloat value) => (value == 0); 1304/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1307/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1310/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1313/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1316/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1319/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1321static bool INumberBase<NFloat>.TryConvertFromChecked<TOther>(TOther value, out NFloat result) 1326/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1328static bool INumberBase<NFloat>.TryConvertFromSaturating<TOther>(TOther value, out NFloat result) 1333/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1335static bool INumberBase<NFloat>.TryConvertFromTruncating<TOther>(TOther value, out NFloat result) 1342where TOther : INumberBase<TOther> 1453/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1455static bool INumberBase<NFloat>.TryConvertToChecked<TOther>(NFloat value, [MaybeNullWhen(false)] out TOther result) 1566/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1568static bool INumberBase<NFloat>.TryConvertToSaturating<TOther>(NFloat value, [MaybeNullWhen(false)] out TOther result) 1573/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1575static bool INumberBase<NFloat>.TryConvertToTruncating<TOther>(NFloat value, [MaybeNullWhen(false)] out TOther result) 1582where TOther : INumberBase<TOther> 1716/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1724/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1732/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1863/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1870/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
139/// <summary>Gets a new vector with elements that alternate between <see cref="INumberBase{TSelf}.One" /> and <see cref="ISignedNumber{TSelf}.NegativeOne" />, starting with one.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (71)
623/// <inheritdoc cref="INumberBase{TSelf}.One" /> 624static sbyte INumberBase<sbyte>.One => One; 626/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 627static int INumberBase<sbyte>.Radix => 2; 629/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 630static sbyte INumberBase<sbyte>.Zero => Zero; 632/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 635/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 638where TOther : INumberBase<TOther> 654/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 657where TOther : INumberBase<TOther> 673/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 676where TOther : INumberBase<TOther> 692/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 693static bool INumberBase<sbyte>.IsCanonical(sbyte value) => true; 695/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 696static bool INumberBase<sbyte>.IsComplexNumber(sbyte value) => false; 698/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 701/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 702static bool INumberBase<sbyte>.IsFinite(sbyte value) => true; 704/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 705static bool INumberBase<sbyte>.IsImaginaryNumber(sbyte value) => false; 707/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 708static bool INumberBase<sbyte>.IsInfinity(sbyte value) => false; 710/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 711static bool INumberBase<sbyte>.IsNaN(sbyte value) => false; 713/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 714static bool INumberBase<sbyte>.IsInteger(sbyte value) => true; 716/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 719/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 720static bool INumberBase<sbyte>.IsNegativeInfinity(sbyte value) => false; 722/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 723static bool INumberBase<sbyte>.IsNormal(sbyte value) => value != 0; 725/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 728/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 731/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 732static bool INumberBase<sbyte>.IsPositiveInfinity(sbyte value) => false; 734/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 735static bool INumberBase<sbyte>.IsRealNumber(sbyte value) => true; 737/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 738static bool INumberBase<sbyte>.IsSubnormal(sbyte value) => false; 740/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 741static bool INumberBase<sbyte>.IsZero(sbyte value) => (value == 0); 743/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 783/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 784static sbyte INumberBase<sbyte>.MaxMagnitudeNumber(sbyte x, sbyte y) => MaxMagnitude(x, y); 786/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 826/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 827static sbyte INumberBase<sbyte>.MinMagnitudeNumber(sbyte x, sbyte y) => MinMagnitude(x, y); 829/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 830static sbyte INumberBase<sbyte>.MultiplyAddEstimate(sbyte left, sbyte right, sbyte addend) => (sbyte)((left * right) + addend); 832/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 834static bool INumberBase<sbyte>.TryConvertFromChecked<TOther>(TOther value, out sbyte result) => TryConvertFromChecked(value, out result); 838where TOther : INumberBase<TOther> 904/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 906static bool INumberBase<sbyte>.TryConvertFromSaturating<TOther>(TOther value, out sbyte result) => TryConvertFromSaturating(value, out result); 910where TOther : INumberBase<TOther> 992/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 994static bool INumberBase<sbyte>.TryConvertFromTruncating<TOther>(TOther value, out sbyte result) => TryConvertFromTruncating(value, out result); 998where TOther : INumberBase<TOther> 1075/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1077static bool INumberBase<sbyte>.TryConvertToChecked<TOther>(sbyte value, [MaybeNullWhen(false)] out TOther result) 1143/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1145static bool INumberBase<sbyte>.TryConvertToSaturating<TOther>(sbyte value, [MaybeNullWhen(false)] out TOther result) 1211/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1213static bool INumberBase<sbyte>.TryConvertToTruncating<TOther>(sbyte value, [MaybeNullWhen(false)] out TOther result) 1279/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1286/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1293/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1368/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1375/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (50)
1045/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1046static float INumberBase<float>.One => One; 1048/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1049static int INumberBase<float>.Radix => 2; 1051/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1052static float INumberBase<float>.Zero => Zero; 1054/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1058/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1061where TOther : INumberBase<TOther> 1077/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1080where TOther : INumberBase<TOther> 1096/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1099where TOther : INumberBase<TOther> 1115/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1116static bool INumberBase<float>.IsCanonical(float value) => true; 1118/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1119static bool INumberBase<float>.IsComplexNumber(float value) => false; 1121/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1144/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1145static bool INumberBase<float>.IsImaginaryNumber(float value) => false; 1147/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1150/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1153/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1156/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1167/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1168static bool INumberBase<float>.IsZero(float value) => IsZero(value); 1170/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1174/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1200/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1204/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1232/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1243/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1245static bool INumberBase<float>.TryConvertFromChecked<TOther>(TOther value, out float result) 1250/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1252static bool INumberBase<float>.TryConvertFromSaturating<TOther>(TOther value, out float result) 1257/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1259static bool INumberBase<float>.TryConvertFromTruncating<TOther>(TOther value, out float result) 1266where TOther : INumberBase<TOther> 1332/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1334static bool INumberBase<float>.TryConvertToChecked<TOther>(float value, [MaybeNullWhen(false)] out TOther result) 1400/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1402static bool INumberBase<float>.TryConvertToSaturating<TOther>(float value, [MaybeNullWhen(false)] out TOther result) 1407/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1409static bool INumberBase<float>.TryConvertToTruncating<TOther>(float value, [MaybeNullWhen(false)] out TOther result) 1416where TOther : INumberBase<TOther> 1515/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1522/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1529/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2221/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2228/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (7)
43where TLeft : unmanaged, INumberBase<TLeft> 44where TRight : unmanaged, INumberBase<TRight> 197where TLeft : unmanaged, INumberBase<TLeft> 198where TRight : unmanaged, INumberBase<TRight> 456where TLeft : unmanaged, INumberBase<TLeft> 457where TRight : unmanaged, INumberBase<TRight> 466private readonly struct PlainLoader<T> : ILoader<T, T> where T : unmanaged, INumberBase<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (74)
1469/// <inheritdoc cref="INumberBase{TSelf}.One" /> 1472/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1473static int INumberBase<UInt128>.Radix => 2; 1475/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 1478/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1479static UInt128 INumberBase<UInt128>.Abs(UInt128 value) => value; 1481/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1484where TOther : INumberBase<TOther> 1500/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1503where TOther : INumberBase<TOther> 1519/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1522where TOther : INumberBase<TOther> 1538/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1539static bool INumberBase<UInt128>.IsCanonical(UInt128 value) => true; 1541/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1542static bool INumberBase<UInt128>.IsComplexNumber(UInt128 value) => false; 1544/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1547/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 1548static bool INumberBase<UInt128>.IsFinite(UInt128 value) => true; 1550/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1551static bool INumberBase<UInt128>.IsImaginaryNumber(UInt128 value) => false; 1553/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 1554static bool INumberBase<UInt128>.IsInfinity(UInt128 value) => false; 1556/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1557static bool INumberBase<UInt128>.IsInteger(UInt128 value) => true; 1559/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 1560static bool INumberBase<UInt128>.IsNaN(UInt128 value) => false; 1562/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 1563static bool INumberBase<UInt128>.IsNegative(UInt128 value) => false; 1565/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 1566static bool INumberBase<UInt128>.IsNegativeInfinity(UInt128 value) => false; 1568/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 1569static bool INumberBase<UInt128>.IsNormal(UInt128 value) => value != 0U; 1571/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1574/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1575static bool INumberBase<UInt128>.IsPositive(UInt128 value) => true; 1577/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 1578static bool INumberBase<UInt128>.IsPositiveInfinity(UInt128 value) => false; 1580/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1581static bool INumberBase<UInt128>.IsRealNumber(UInt128 value) => true; 1583/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 1584static bool INumberBase<UInt128>.IsSubnormal(UInt128 value) => false; 1586/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1587static bool INumberBase<UInt128>.IsZero(UInt128 value) => (value == 0U); 1589/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1590static UInt128 INumberBase<UInt128>.MaxMagnitude(UInt128 x, UInt128 y) => Max(x, y); 1592/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1593static UInt128 INumberBase<UInt128>.MaxMagnitudeNumber(UInt128 x, UInt128 y) => Max(x, y); 1595/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1596static UInt128 INumberBase<UInt128>.MinMagnitude(UInt128 x, UInt128 y) => Min(x, y); 1598/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1599static UInt128 INumberBase<UInt128>.MinMagnitudeNumber(UInt128 x, UInt128 y) => Min(x, y); 1601/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1602static UInt128 INumberBase<UInt128>.MultiplyAddEstimate(UInt128 left, UInt128 right, UInt128 addend) => (left * right) + addend; 1604/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1606static bool INumberBase<UInt128>.TryConvertFromChecked<TOther>(TOther value, out UInt128 result) => TryConvertFromChecked(value, out result); 1610where TOther : INumberBase<TOther> 1670/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1672static bool INumberBase<UInt128>.TryConvertFromSaturating<TOther>(TOther value, out UInt128 result) => TryConvertFromSaturating(value, out result); 1676where TOther : INumberBase<TOther> 1736/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1738static bool INumberBase<UInt128>.TryConvertFromTruncating<TOther>(TOther value, out UInt128 result) => TryConvertFromTruncating(value, out result); 1742where TOther : INumberBase<TOther> 1802/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1804static bool INumberBase<UInt128>.TryConvertToChecked<TOther>(UInt128 value, [MaybeNullWhen(false)] out TOther result) 1876/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1878static bool INumberBase<UInt128>.TryConvertToSaturating<TOther>(UInt128 value, [MaybeNullWhen(false)] out TOther result) 1956/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1958static bool INumberBase<UInt128>.TryConvertToTruncating<TOther>(UInt128 value, [MaybeNullWhen(false)] out TOther result) 2030/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2037/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2044/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2192/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 2199/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (76)
549/// <inheritdoc cref="INumberBase{TSelf}.One" /> 550static ushort INumberBase<ushort>.One => One; 552/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 553static int INumberBase<ushort>.Radix => 2; 555/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 556static ushort INumberBase<ushort>.Zero => Zero; 558/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 559static ushort INumberBase<ushort>.Abs(ushort value) => value; 561/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 564where TOther : INumberBase<TOther> 580/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 583where TOther : INumberBase<TOther> 599/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 602where TOther : INumberBase<TOther> 618/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 619static bool INumberBase<ushort>.IsCanonical(ushort value) => true; 621/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 622static bool INumberBase<ushort>.IsComplexNumber(ushort value) => false; 624/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 627/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 628static bool INumberBase<ushort>.IsFinite(ushort value) => true; 630/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 631static bool INumberBase<ushort>.IsImaginaryNumber(ushort value) => false; 633/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 634static bool INumberBase<ushort>.IsInfinity(ushort value) => false; 636/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 637static bool INumberBase<ushort>.IsInteger(ushort value) => true; 639/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 640static bool INumberBase<ushort>.IsNaN(ushort value) => false; 642/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 643static bool INumberBase<ushort>.IsNegative(ushort value) => false; 645/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 646static bool INumberBase<ushort>.IsNegativeInfinity(ushort value) => false; 648/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 649static bool INumberBase<ushort>.IsNormal(ushort value) => value != 0; 651/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 654/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 655static bool INumberBase<ushort>.IsPositive(ushort value) => true; 657/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 658static bool INumberBase<ushort>.IsPositiveInfinity(ushort value) => false; 660/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 661static bool INumberBase<ushort>.IsRealNumber(ushort value) => true; 663/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 664static bool INumberBase<ushort>.IsSubnormal(ushort value) => false; 666/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 667static bool INumberBase<ushort>.IsZero(ushort value) => (value == 0); 669/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 670static ushort INumberBase<ushort>.MaxMagnitude(ushort x, ushort y) => Max(x, y); 672/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 673static ushort INumberBase<ushort>.MaxMagnitudeNumber(ushort x, ushort y) => Max(x, y); 675/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 676static ushort INumberBase<ushort>.MinMagnitude(ushort x, ushort y) => Min(x, y); 678/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 679static ushort INumberBase<ushort>.MinMagnitudeNumber(ushort x, ushort y) => Min(x, y); 681/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 682static ushort INumberBase<ushort>.MultiplyAddEstimate(ushort left, ushort right, ushort addend) => (ushort)((left * right) + addend); 684/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 686static bool INumberBase<ushort>.TryConvertFromChecked<TOther>(TOther value, out ushort result) => TryConvertFromChecked(value, out result); 690where TOther : INumberBase<TOther> 750/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 752static bool INumberBase<ushort>.TryConvertFromSaturating<TOther>(TOther value, out ushort result) => TryConvertFromSaturating(value, out result); 756where TOther : INumberBase<TOther> 817/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 819static bool INumberBase<ushort>.TryConvertFromTruncating<TOther>(TOther value, out ushort result) => TryConvertFromTruncating(value, out result); 823where TOther : INumberBase<TOther> 884/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 886static bool INumberBase<ushort>.TryConvertToChecked<TOther>(ushort value, [MaybeNullWhen(false)] out TOther result) 958/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 960static bool INumberBase<ushort>.TryConvertToSaturating<TOther>(ushort value, [MaybeNullWhen(false)] out TOther result) 1032/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1034static bool INumberBase<ushort>.TryConvertToTruncating<TOther>(ushort value, [MaybeNullWhen(false)] out TOther result) 1106/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1113/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1120/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1188/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1195/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (76)
614/// <inheritdoc cref="INumberBase{TSelf}.One" /> 615static uint INumberBase<uint>.One => One; 617/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 618static int INumberBase<uint>.Radix => 2; 620/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 621static uint INumberBase<uint>.Zero => Zero; 623/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 624static uint INumberBase<uint>.Abs(uint value) => value; 626/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 629where TOther : INumberBase<TOther> 645/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 648where TOther : INumberBase<TOther> 664/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 667where TOther : INumberBase<TOther> 683/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 684static bool INumberBase<uint>.IsCanonical(uint value) => true; 686/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 687static bool INumberBase<uint>.IsComplexNumber(uint value) => false; 689/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 692/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 693static bool INumberBase<uint>.IsFinite(uint value) => true; 695/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 696static bool INumberBase<uint>.IsImaginaryNumber(uint value) => false; 698/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 699static bool INumberBase<uint>.IsInfinity(uint value) => false; 701/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 702static bool INumberBase<uint>.IsInteger(uint value) => true; 704/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 705static bool INumberBase<uint>.IsNaN(uint value) => false; 707/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 708static bool INumberBase<uint>.IsNegative(uint value) => false; 710/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 711static bool INumberBase<uint>.IsNegativeInfinity(uint value) => false; 713/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 714static bool INumberBase<uint>.IsNormal(uint value) => value != 0; 716/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 719/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 720static bool INumberBase<uint>.IsPositive(uint value) => true; 722/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 723static bool INumberBase<uint>.IsPositiveInfinity(uint value) => false; 725/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 726static bool INumberBase<uint>.IsRealNumber(uint value) => true; 728/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 729static bool INumberBase<uint>.IsSubnormal(uint value) => false; 731/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 732static bool INumberBase<uint>.IsZero(uint value) => (value == 0); 734/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 735static uint INumberBase<uint>.MaxMagnitude(uint x, uint y) => Max(x, y); 737/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 738static uint INumberBase<uint>.MaxMagnitudeNumber(uint x, uint y) => Max(x, y); 740/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 741static uint INumberBase<uint>.MinMagnitude(uint x, uint y) => Min(x, y); 743/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 744static uint INumberBase<uint>.MinMagnitudeNumber(uint x, uint y) => Min(x, y); 746/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 747static uint INumberBase<uint>.MultiplyAddEstimate(uint left, uint right, uint addend) => (left * right) + addend; 749/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 751static bool INumberBase<uint>.TryConvertFromChecked<TOther>(TOther value, out uint result) => TryConvertFromChecked(value, out result); 755where TOther : INumberBase<TOther> 815/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 817static bool INumberBase<uint>.TryConvertFromSaturating<TOther>(TOther value, out uint result) => TryConvertFromSaturating(value, out result); 821where TOther : INumberBase<TOther> 882/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 884static bool INumberBase<uint>.TryConvertFromTruncating<TOther>(TOther value, out uint result) => TryConvertFromTruncating(value, out result); 888where TOther : INumberBase<TOther> 949/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 951static bool INumberBase<uint>.TryConvertToChecked<TOther>(uint value, [MaybeNullWhen(false)] out TOther result) 1023/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1025static bool INumberBase<uint>.TryConvertToSaturating<TOther>(uint value, [MaybeNullWhen(false)] out TOther result) 1103/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1105static bool INumberBase<uint>.TryConvertToTruncating<TOther>(uint value, [MaybeNullWhen(false)] out TOther result) 1177/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1184/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1191/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1259/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1266/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (76)
621/// <inheritdoc cref="INumberBase{TSelf}.One" /> 622static ulong INumberBase<ulong>.One => One; 624/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 625static int INumberBase<ulong>.Radix => 2; 627/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 628static ulong INumberBase<ulong>.Zero => Zero; 630/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 631static ulong INumberBase<ulong>.Abs(ulong value) => value; 633/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 636where TOther : INumberBase<TOther> 652/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 655where TOther : INumberBase<TOther> 671/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 674where TOther : INumberBase<TOther> 690/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 691static bool INumberBase<ulong>.IsCanonical(ulong value) => true; 693/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 694static bool INumberBase<ulong>.IsComplexNumber(ulong value) => false; 696/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 699/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 700static bool INumberBase<ulong>.IsFinite(ulong value) => true; 702/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 703static bool INumberBase<ulong>.IsImaginaryNumber(ulong value) => false; 705/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 706static bool INumberBase<ulong>.IsInfinity(ulong value) => false; 708/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 709static bool INumberBase<ulong>.IsInteger(ulong value) => true; 711/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 712static bool INumberBase<ulong>.IsNaN(ulong value) => false; 714/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 715static bool INumberBase<ulong>.IsNegative(ulong value) => false; 717/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 718static bool INumberBase<ulong>.IsNegativeInfinity(ulong value) => false; 720/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 721static bool INumberBase<ulong>.IsNormal(ulong value) => value != 0; 723/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 726/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 727static bool INumberBase<ulong>.IsPositive(ulong value) => true; 729/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 730static bool INumberBase<ulong>.IsPositiveInfinity(ulong value) => false; 732/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 733static bool INumberBase<ulong>.IsRealNumber(ulong value) => true; 735/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 736static bool INumberBase<ulong>.IsSubnormal(ulong value) => false; 738/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 739static bool INumberBase<ulong>.IsZero(ulong value) => (value == 0); 741/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 742static ulong INumberBase<ulong>.MaxMagnitude(ulong x, ulong y) => Max(x, y); 744/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 745static ulong INumberBase<ulong>.MaxMagnitudeNumber(ulong x, ulong y) => Max(x, y); 747/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 748static ulong INumberBase<ulong>.MinMagnitude(ulong x, ulong y) => Min(x, y); 750/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 751static ulong INumberBase<ulong>.MinMagnitudeNumber(ulong x, ulong y) => Min(x, y); 753/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 754static ulong INumberBase<ulong>.MultiplyAddEstimate(ulong left, ulong right, ulong addend) => (left * right) + addend; 756/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 758static bool INumberBase<ulong>.TryConvertFromChecked<TOther>(TOther value, out ulong result) => TryConvertFromChecked(value, out result); 762where TOther : INumberBase<TOther> 822/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 824static bool INumberBase<ulong>.TryConvertFromSaturating<TOther>(TOther value, out ulong result) => TryConvertFromSaturating(value, out result); 828where TOther : INumberBase<TOther> 889/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 891static bool INumberBase<ulong>.TryConvertFromTruncating<TOther>(TOther value, out ulong result) => TryConvertFromTruncating(value, out result); 895where TOther : INumberBase<TOther> 956/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 958static bool INumberBase<ulong>.TryConvertToChecked<TOther>(ulong value, [MaybeNullWhen(false)] out TOther result) 1030/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1032static bool INumberBase<ulong>.TryConvertToSaturating<TOther>(ulong value, [MaybeNullWhen(false)] out TOther result) 1104/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1106static bool INumberBase<ulong>.TryConvertToTruncating<TOther>(ulong value, [MaybeNullWhen(false)] out TOther result) 1178/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1185/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1192/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1260/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1267/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (76)
620/// <inheritdoc cref="INumberBase{TSelf}.One" /> 621static nuint INumberBase<nuint>.One => 1; 623/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 624static int INumberBase<nuint>.Radix => 2; 626/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 627static nuint INumberBase<nuint>.Zero => 0; 629/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 630static nuint INumberBase<nuint>.Abs(nuint value) => value; 632/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 635where TOther : INumberBase<TOther> 651/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 654where TOther : INumberBase<TOther> 670/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 673where TOther : INumberBase<TOther> 689/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 690static bool INumberBase<nuint>.IsCanonical(nuint value) => true; 692/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 693static bool INumberBase<nuint>.IsComplexNumber(nuint value) => false; 695/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 698/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 699static bool INumberBase<nuint>.IsFinite(nuint value) => true; 701/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 702static bool INumberBase<nuint>.IsImaginaryNumber(nuint value) => false; 704/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 705static bool INumberBase<nuint>.IsInfinity(nuint value) => false; 707/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 708static bool INumberBase<nuint>.IsInteger(nuint value) => true; 710/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 711static bool INumberBase<nuint>.IsNaN(nuint value) => false; 713/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 714static bool INumberBase<nuint>.IsNegative(nuint value) => false; 716/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 717static bool INumberBase<nuint>.IsNegativeInfinity(nuint value) => false; 719/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 720static bool INumberBase<nuint>.IsNormal(nuint value) => value != 0; 722/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 725/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 726static bool INumberBase<nuint>.IsPositive(nuint value) => true; 728/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 729static bool INumberBase<nuint>.IsPositiveInfinity(nuint value) => false; 731/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 732static bool INumberBase<nuint>.IsRealNumber(nuint value) => true; 734/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 735static bool INumberBase<nuint>.IsSubnormal(nuint value) => false; 737/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 738static bool INumberBase<nuint>.IsZero(nuint value) => (value == 0); 740/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 741static nuint INumberBase<nuint>.MaxMagnitude(nuint x, nuint y) => Max(x, y); 743/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 744static nuint INumberBase<nuint>.MaxMagnitudeNumber(nuint x, nuint y) => Max(x, y); 746/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 747static nuint INumberBase<nuint>.MinMagnitude(nuint x, nuint y) => Min(x, y); 749/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 750static nuint INumberBase<nuint>.MinMagnitudeNumber(nuint x, nuint y) => Min(x, y); 752/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 753static nuint INumberBase<nuint>.MultiplyAddEstimate(nuint left, nuint right, nuint addend) => (nuint)((left * right) + addend); 755/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 757static bool INumberBase<nuint>.TryConvertFromChecked<TOther>(TOther value, out nuint result) => TryConvertFromChecked(value, out result); 761where TOther : INumberBase<TOther> 821/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 823static bool INumberBase<nuint>.TryConvertFromSaturating<TOther>(TOther value, out nuint result) => TryConvertFromSaturating(value, out result); 827where TOther : INumberBase<TOther> 888/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 890static bool INumberBase<nuint>.TryConvertFromTruncating<TOther>(TOther value, out nuint result) => TryConvertFromTruncating(value, out result); 894where TOther : INumberBase<TOther> 955/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 957static bool INumberBase<nuint>.TryConvertToChecked<TOther>(nuint value, [MaybeNullWhen(false)] out TOther result) 1029/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1031static bool INumberBase<nuint>.TryConvertToSaturating<TOther>(nuint value, [MaybeNullWhen(false)] out TOther result) 1103/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1105static bool INumberBase<nuint>.TryConvertToTruncating<TOther>(nuint value, [MaybeNullWhen(false)] out TOther result) 1177/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1185/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1193/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1245/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1248/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" />
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
405[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.INumberBase<>))]
System.Runtime.Numerics (185)
System\Numerics\BigInteger.cs (64)
859/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 865/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 871/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 4114/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 4115static int INumberBase<BigInteger>.Radix => 2; 4117/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 4120where TOther : INumberBase<TOther> 4136/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 4139where TOther : INumberBase<TOther> 4155/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 4158where TOther : INumberBase<TOther> 4174/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 4175static bool INumberBase<BigInteger>.IsCanonical(BigInteger value) => true; 4177/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 4178static bool INumberBase<BigInteger>.IsComplexNumber(BigInteger value) => false; 4180/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 4188/// <inheritdoc cref="INumberBase{TSelf}.IsFinite(TSelf)" /> 4189static bool INumberBase<BigInteger>.IsFinite(BigInteger value) => true; 4191/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 4192static bool INumberBase<BigInteger>.IsImaginaryNumber(BigInteger value) => false; 4194/// <inheritdoc cref="INumberBase{TSelf}.IsInfinity(TSelf)" /> 4195static bool INumberBase<BigInteger>.IsInfinity(BigInteger value) => false; 4197/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 4198static bool INumberBase<BigInteger>.IsInteger(BigInteger value) => true; 4200/// <inheritdoc cref="INumberBase{TSelf}.IsNaN(TSelf)" /> 4201static bool INumberBase<BigInteger>.IsNaN(BigInteger value) => false; 4203/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 4209/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 4210static bool INumberBase<BigInteger>.IsNegativeInfinity(BigInteger value) => false; 4212/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 4213static bool INumberBase<BigInteger>.IsNormal(BigInteger value) => (value != 0); 4215/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 4223/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 4229/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 4230static bool INumberBase<BigInteger>.IsPositiveInfinity(BigInteger value) => false; 4232/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 4233static bool INumberBase<BigInteger>.IsRealNumber(BigInteger value) => true; 4235/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 4236static bool INumberBase<BigInteger>.IsSubnormal(BigInteger value) => false; 4238/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 4239static bool INumberBase<BigInteger>.IsZero(BigInteger value) 4244/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 4251/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 4252static BigInteger INumberBase<BigInteger>.MaxMagnitudeNumber(BigInteger x, BigInteger y) => MaxMagnitude(x, y); 4254/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 4261/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 4262static BigInteger INumberBase<BigInteger>.MinMagnitudeNumber(BigInteger x, BigInteger y) => MinMagnitude(x, y); 4264/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 4265static BigInteger INumberBase<BigInteger>.MultiplyAddEstimate(BigInteger left, BigInteger right, BigInteger addend) => (left * right) + addend; 4267/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 4269static bool INumberBase<BigInteger>.TryConvertFromChecked<TOther>(TOther value, out BigInteger result) => TryConvertFromChecked(value, out result); 4273where TOther : INumberBase<TOther> 4390/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 4392static bool INumberBase<BigInteger>.TryConvertFromSaturating<TOther>(TOther value, out BigInteger result) => TryConvertFromSaturating(value, out result); 4396where TOther : INumberBase<TOther> 4513/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 4515static bool INumberBase<BigInteger>.TryConvertFromTruncating<TOther>(TOther value, out BigInteger result) => TryConvertFromTruncating(value, out result); 4519where TOther : INumberBase<TOther> 4636/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 4638static bool INumberBase<BigInteger>.TryConvertToChecked<TOther>(BigInteger value, [MaybeNullWhen(false)] out TOther result) 4761/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 4763static bool INumberBase<BigInteger>.TryConvertToSaturating<TOther>(BigInteger value, [MaybeNullWhen(false)] out TOther result) 4960/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 4962static bool INumberBase<BigInteger>.TryConvertToTruncating<TOther>(BigInteger value, [MaybeNullWhen(false)] out TOther result)
System\Numerics\Complex.cs (60)
513/// <inheritdoc cref="INumberBase{TSelf}.One" /> 514static Complex INumberBase<Complex>.One => new(1.0, 0.0); 516/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 517static int INumberBase<Complex>.Radix => 2; 519/// <inheritdoc cref="INumberBase{TSelf}.Zero" /> 520static Complex INumberBase<Complex>.Zero => new(0.0, 0.0); 522/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 523static Complex INumberBase<Complex>.Abs(Complex value) => Abs(value); 525/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 528where TOther : INumberBase<TOther> 544/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 547where TOther : INumberBase<TOther> 563/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 566where TOther : INumberBase<TOther> 582/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 583static bool INumberBase<Complex>.IsCanonical(Complex value) => true; 585/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 588/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 591/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 594/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 597/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 606/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 615/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 625/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 628/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 637/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 646/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 649/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 658/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 659static bool INumberBase<Complex>.IsZero(Complex value) => (value.m_real == 0.0) && (value.m_imaginary == 0.0); 661/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 668/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 669static Complex INumberBase<Complex>.MaxMagnitudeNumber(Complex x, Complex y) 675/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 682/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 683static Complex INumberBase<Complex>.MinMagnitudeNumber(Complex x, Complex y) 689/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 690static Complex INumberBase<Complex>.MultiplyAddEstimate(Complex left, Complex right, Complex addend) 696/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{char}, NumberStyles, IFormatProvider?)" /> 706/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 716/// <inheritdoc cref="INumberBase{TSelf}.Parse(string, NumberStyles, IFormatProvider?)" /> 723/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 725static bool INumberBase<Complex>.TryConvertFromChecked<TOther>(TOther value, out Complex result) 730/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 732static bool INumberBase<Complex>.TryConvertFromSaturating<TOther>(TOther value, out Complex result) 737/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 739static bool INumberBase<Complex>.TryConvertFromTruncating<TOther>(TOther value, out Complex result) 745where TOther : INumberBase<TOther> 764/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 766static bool INumberBase<Complex>.TryConvertToChecked<TOther>(Complex value, [MaybeNullWhen(false)] out TOther result) 777/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 779static bool INumberBase<Complex>.TryConvertToSaturating<TOther>(Complex value, [MaybeNullWhen(false)] out TOther result) 790/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 792static bool INumberBase<Complex>.TryConvertToTruncating<TOther>(Complex value, [MaybeNullWhen(false)] out TOther result) 803/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf)" /> 810/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" /> 817/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 824/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 831/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 838/// <inheritdoc cref="INumberBase{TSelf}.TryParse(string, NumberStyles, IFormatProvider?, out TSelf)" />
System\Numerics\Complex.Generic.cs (61)
1181/// <inheritdoc cref="INumberBase{TSelf}.Radix" /> 1182static int INumberBase<Complex<T>>.Radix => T.Radix; 1184/// <inheritdoc cref="INumberBase{TSelf}.Abs(TSelf)" /> 1185static Complex<T> INumberBase<Complex<T>>.Abs(Complex<T> value) => Abs(value); 1187/// <inheritdoc cref="INumberBase{TSelf}.CreateChecked{TOther}(TOther)" /> 1190where TOther : INumberBase<TOther> 1206/// <inheritdoc cref="INumberBase{TSelf}.CreateSaturating{TOther}(TOther)" /> 1209where TOther : INumberBase<TOther> 1225/// <inheritdoc cref="INumberBase{TSelf}.CreateTruncating{TOther}(TOther)" /> 1228where TOther : INumberBase<TOther> 1244/// <inheritdoc cref="INumberBase{TSelf}.IsCanonical(TSelf)" /> 1245static bool INumberBase<Complex<T>>.IsCanonical(Complex<T> value) => true; 1247/// <inheritdoc cref="INumberBase{TSelf}.IsComplexNumber(TSelf)" /> 1250/// <inheritdoc cref="INumberBase{TSelf}.IsEvenInteger(TSelf)" /> 1253/// <inheritdoc cref="INumberBase{TSelf}.IsImaginaryNumber(TSelf)" /> 1256/// <inheritdoc cref="INumberBase{TSelf}.IsInteger(TSelf)" /> 1259/// <inheritdoc cref="INumberBase{TSelf}.IsNegative(TSelf)" /> 1268/// <inheritdoc cref="INumberBase{TSelf}.IsNegativeInfinity(TSelf)" /> 1277/// <inheritdoc cref="INumberBase{TSelf}.IsNormal(TSelf)" /> 1287/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1290/// <inheritdoc cref="INumberBase{TSelf}.IsPositive(TSelf)" /> 1299/// <inheritdoc cref="INumberBase{TSelf}.IsPositiveInfinity(TSelf)" /> 1308/// <inheritdoc cref="INumberBase{TSelf}.IsRealNumber(TSelf)" /> 1311/// <inheritdoc cref="INumberBase{TSelf}.IsSubnormal(TSelf)" /> 1320/// <inheritdoc cref="INumberBase{TSelf}.IsZero(TSelf)" /> 1321static bool INumberBase<Complex<T>>.IsZero(Complex<T> value) => (value.m_real == T.Zero) && (value.m_imaginary == T.Zero); 1323/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitude(TSelf, TSelf)" /> 1449/// <inheritdoc cref="INumberBase{TSelf}.MaxMagnitudeNumber(TSelf, TSelf)" /> 1450static Complex<T> INumberBase<Complex<T>>.MaxMagnitudeNumber(Complex<T> x, Complex<T> y) 1453/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitude(TSelf, TSelf)" /> 1574/// <inheritdoc cref="INumberBase{TSelf}.MinMagnitudeNumber(TSelf, TSelf)" /> 1575static Complex<T> INumberBase<Complex<T>>.MinMagnitudeNumber(Complex<T> x, Complex<T> y) 1594/// <inheritdoc cref="INumberBase{TSelf}.MultiplyAddEstimate(TSelf, TSelf, TSelf)" /> 1595static Complex<T> INumberBase<Complex<T>>.MultiplyAddEstimate(Complex<T> left, Complex<T> right, Complex<T> addend) 1598/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{char}, NumberStyles, IFormatProvider?)" /> 1608/// <inheritdoc cref="INumberBase{TSelf}.Parse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?)" /> 1618/// <inheritdoc cref="INumberBase{TSelf}.Parse(string, NumberStyles, IFormatProvider?)" /> 1625/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromChecked{TOther}(TOther, out TSelf)" /> 1627static bool INumberBase<Complex<T>>.TryConvertFromChecked<TOther>(TOther value, out Complex<T> result) 1632/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromSaturating{TOther}(TOther, out TSelf)" /> 1634static bool INumberBase<Complex<T>>.TryConvertFromSaturating<TOther>(TOther value, out Complex<T> result) 1639/// <inheritdoc cref="INumberBase{TSelf}.TryConvertFromTruncating{TOther}(TOther, out TSelf)" /> 1641static bool INumberBase<Complex<T>>.TryConvertFromTruncating<TOther>(TOther value, out Complex<T> result) 1647where TOther : INumberBase<TOther> 1679where TOther : INumberBase<TOther> 1711where TOther : INumberBase<TOther> 1742/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToChecked{TOther}(TSelf, out TOther)" /> 1744static bool INumberBase<Complex<T>>.TryConvertToChecked<TOther>(Complex<T> value, [MaybeNullWhen(false)] out TOther result) 1755/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToSaturating{TOther}(TSelf, out TOther)" /> 1757static bool INumberBase<Complex<T>>.TryConvertToSaturating<TOther>(Complex<T> value, [MaybeNullWhen(false)] out TOther result) 1768/// <inheritdoc cref="INumberBase{TSelf}.TryConvertToTruncating{TOther}(TSelf, out TOther)" /> 1770static bool INumberBase<Complex<T>>.TryConvertToTruncating<TOther>(Complex<T> value, [MaybeNullWhen(false)] out TOther result) 1782where TOther : INumberBase<TOther> 1829where TOther : INumberBase<TOther> 1860where TOther : INumberBase<TOther> 1890/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf)" /> 1894/// <inheritdoc cref="INumberBase{TSelf}.TryParse(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf)" /> 1898/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(string, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1902/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{byte}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 1906/// <inheritdoc cref="INumberBase{TSelf}.TryParsePartial(ReadOnlySpan{char}, NumberStyles, IFormatProvider?, out TSelf, out int)" /> 2039/// <inheritdoc cref="INumberBase{TSelf}.TryParse(string, NumberStyles, IFormatProvider?, out TSelf)" />