25 references to Zero
System.Private.CoreLib (25)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (6)
1644
if ((mantissa >> 96) == UInt128.
Zero
)
1655
if (mantissa == UInt128.
Zero
)
1750
if (mantissa == UInt128.
Zero
)
1784
bool sticky = (remainder != UInt128.
Zero
) || ((roundBits & (half - 1)) != 0);
1841
return UInt128.
Zero
;
1848
if ((remainder > half) || ((remainder == half) && ((quotient & UInt128.One) != UInt128.
Zero
)))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (10)
2731
sticky |= (remainder % scale) != UInt128.
Zero
;
3311
magnitude = UInt128.
Zero
;
3330
if (significand == UInt128.
Zero
)
3349
magnitude = exceedsUInt128 ? UInt128.
Zero
: significand;
3357
for (int i = 0; (i < drop) && (significand != UInt128.
Zero
); i++)
3384
UInt128 minMagnitude = isUnsigned ? UInt128.
Zero
: maxMagnitude + UInt128.One;
3434
if ((magnitude != UInt128.
Zero
) && isChecked)
3497
if (magnitude == UInt128.
Zero
)
3523
Debug.Assert(magnitude != UInt128.
Zero
);
3529
while (magnitude != UInt128.
Zero
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128Conversions.cs (4)
31
Debug.Assert(coefficient != UInt128.
Zero
);
135
if ((coefficient != UInt128.
Zero
) && (coefficient < pow10Pm1))
180
if (coefficient == UInt128.
Zero
)
214
if (coefficient == UInt128.
Zero
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128DecimalReduce.cs (1)
124
return (coefficient % DiyFp128Pow5(k)) == UInt128.
Zero
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128PiTrig.cs (1)
104
if (fractionBits == UInt128.
Zero
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (3)
784
: (
Zero
, left);
2176
public static UInt128 operator -(UInt128 value) =>
Zero
- value;
2179
public static UInt128 operator checked -(UInt128 value) => checked(
Zero
- value);