103 references to UnpackDecimalIeee754
System.Private.CoreLib (103)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (43)
22
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
139
DecodedDecimalIeee754<TValue> current =
UnpackDecimalIeee754
<TDecimal, TValue>(currentDecimalBits);
140
DecodedDecimalIeee754<TValue> other =
UnpackDecimalIeee754
<TDecimal, TValue>(otherDecimalBits);
267
DecodedDecimalIeee754<TValue> left =
UnpackDecimalIeee754
<TDecimal, TValue>(leftDecimalBits);
268
DecodedDecimalIeee754<TValue> right =
UnpackDecimalIeee754
<TDecimal, TValue>(rightDecimalBits);
551
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(bidBits);
920
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(left);
921
DecodedDecimalIeee754<TValue> b =
UnpackDecimalIeee754
<TDecimal, TValue>(right);
1156
bool otherZero = (leftInfinity && !rightInfinity && TValue.IsZero(
UnpackDecimalIeee754
<TDecimal, TValue>(right).Significand))
1157
|| (rightInfinity && !leftInfinity && TValue.IsZero(
UnpackDecimalIeee754
<TDecimal, TValue>(left).Significand));
1170
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(left);
1171
DecodedDecimalIeee754<TValue> b =
UnpackDecimalIeee754
<TDecimal, TValue>(right);
1223
DecodedDecimalIeee754<TValue> value =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
1298
bool otherZero = (xInfinity && !yInfinity && TValue.IsZero(
UnpackDecimalIeee754
<TDecimal, TValue>(y).Significand))
1299
|| (yInfinity && !xInfinity && TValue.IsZero(
UnpackDecimalIeee754
<TDecimal, TValue>(x).Significand));
1322
DecodedDecimalIeee754<TValue> dx =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1323
DecodedDecimalIeee754<TValue> dy =
UnpackDecimalIeee754
<TDecimal, TValue>(y);
1324
DecodedDecimalIeee754<TValue> dz =
UnpackDecimalIeee754
<TDecimal, TValue>(z);
1510
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(left);
1511
DecodedDecimalIeee754<TValue> b =
UnpackDecimalIeee754
<TDecimal, TValue>(right);
1650
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(left);
1658
DecodedDecimalIeee754<TValue> b =
UnpackDecimalIeee754
<TDecimal, TValue>(right);
1758
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(left);
1766
DecodedDecimalIeee754<TValue> b =
UnpackDecimalIeee754
<TDecimal, TValue>(right);
1875
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(value);
1954
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
2035
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
2072
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
2176
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
2177
int targetExponent =
UnpackDecimalIeee754
<TDecimal, TValue>(y).UnbiasedExponent;
2267
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
2296
return
UnpackDecimalIeee754
<TDecimal, TValue>(x).UnbiasedExponent ==
UnpackDecimalIeee754
<TDecimal, TValue>(y).UnbiasedExponent;
2326
DecodedDecimalIeee754<TValue> a =
UnpackDecimalIeee754
<TDecimal, TValue>(bits);
3046
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3117
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3177
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3201
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3410
if (TDecimal.IsFinite(decimalBits) && TValue.IsZero(
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits).Significand))
3459
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3698
DecodedDecimalIeee754<TSourceValue> decoded =
UnpackDecimalIeee754
<TSourceDecimal, TSourceValue>(decimalBits);
3731
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
3889
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(decimalBits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.Transcendental.cs (42)
89
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
123
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
157
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
193
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
229
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
265
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
344
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
400
DecodedDecimalIeee754<TValue> decodedBase =
UnpackDecimalIeee754
<TDecimal, TValue>(newBase);
409
DecodedDecimalIeee754<TValue> decodedX =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
455
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
504
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
584
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
751
dx =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
756
dy =
UnpackDecimalIeee754
<TDecimal, TValue>(y);
903
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
943
DecodedDecimalIeee754<TValue> dx =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
944
DecodedDecimalIeee754<TValue> dy =
UnpackDecimalIeee754
<TDecimal, TValue>(y);
1018
DecodedDecimalIeee754<TValue> dx =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1112
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1146
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1180
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1215
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1263
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1297
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1341
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1396
DecodedDecimalIeee754<TValue> decodedY =
UnpackDecimalIeee754
<TDecimal, TValue>(y);
1397
DecodedDecimalIeee754<TValue> decodedX =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1454
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1488
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1522
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1571
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1619
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1654
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1699
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1755
DecodedDecimalIeee754<TValue> decodedY =
UnpackDecimalIeee754
<TDecimal, TValue>(y);
1756
DecodedDecimalIeee754<TValue> decodedX =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1815
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1849
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1883
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1917
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1951
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
1995
DecodedDecimalIeee754<TValue> decoded =
UnpackDecimalIeee754
<TDecimal, TValue>(x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (1)
534
DecodedDecimalIeee754<TValue> unpackDecimal = Number.
UnpackDecimalIeee754
<TDecimal, TValue>(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (5)
851
int exponent = Number.
UnpackDecimalIeee754
<Decimal128, UInt128>(new UInt128(_upper, _lower)).UnbiasedExponent;
872
if (BinaryPrimitives.TryWriteInt32BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal128, UInt128>(new UInt128(_upper, _lower)).UnbiasedExponent))
885
if (BinaryPrimitives.TryWriteInt32LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal128, UInt128>(new UInt128(_upper, _lower)).UnbiasedExponent))
898
if (BinaryPrimitives.TryWriteUInt128BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal128, UInt128>(new UInt128(_upper, _lower)).Significand))
911
if (BinaryPrimitives.TryWriteUInt128LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal128, UInt128>(new UInt128(_upper, _lower)).Significand))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (5)
862
int exponent = Number.
UnpackDecimalIeee754
<Decimal32, uint>(_value).UnbiasedExponent;
883
if (BinaryPrimitives.TryWriteInt32BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal32, uint>(_value).UnbiasedExponent))
896
if (BinaryPrimitives.TryWriteInt32LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal32, uint>(_value).UnbiasedExponent))
909
if (BinaryPrimitives.TryWriteUInt32BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal32, uint>(_value).Significand))
922
if (BinaryPrimitives.TryWriteUInt32LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal32, uint>(_value).Significand))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (5)
855
int exponent = Number.
UnpackDecimalIeee754
<Decimal64, ulong>(_value).UnbiasedExponent;
876
if (BinaryPrimitives.TryWriteInt32BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal64, ulong>(_value).UnbiasedExponent))
889
if (BinaryPrimitives.TryWriteInt32LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal64, ulong>(_value).UnbiasedExponent))
902
if (BinaryPrimitives.TryWriteUInt64BigEndian(destination, Number.
UnpackDecimalIeee754
<Decimal64, ulong>(_value).Significand))
915
if (BinaryPrimitives.TryWriteUInt64LittleEndian(destination, Number.
UnpackDecimalIeee754
<Decimal64, ulong>(_value).Significand))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (2)
376
Number.DecodedDecimalIeee754<TValue> x = Number.
UnpackDecimalIeee754
<TDecimal, TValue>(xBits);
377
Number.DecodedDecimalIeee754<TValue> y = Number.
UnpackDecimalIeee754
<TDecimal, TValue>(yBits);