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