3 implementations of ConvertToExponent
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
1787
static int IDecimalIeee754ParseAndFormatInfo<Decimal128, UInt128>.
ConvertToExponent
(UInt128 value) => (int)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
1760
static int IDecimalIeee754ParseAndFormatInfo<Decimal32, uint>.
ConvertToExponent
(uint value) => (int)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
1753
static int IDecimalIeee754ParseAndFormatInfo<Decimal64, ulong>.
ConvertToExponent
(ulong value) => (int)value;
2 references to ConvertToExponent
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (2)
71
biasedExponent = TDecimal.
ConvertToExponent
((decimalBits & TDecimal.G2ToGwPlus3ExponentMask) >> (TDecimal.NumberBitsSignificand + 1));
76
biasedExponent = TDecimal.
ConvertToExponent
((decimalBits & TDecimal.G0ToGwPlus1ExponentMask) >> (TDecimal.NumberBitsSignificand + 3));