16 references to IsZero
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.BigInteger.cs (5)
436
if (value.
IsZero
())
455
Debug.Assert(!rhs.
IsZero
());
457
if (lhs.
IsZero
())
1130
if (
IsZero
())
1174
else if (!
IsZero
())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Dragon4.cs (4)
379
if (scaledValue.
IsZero
() || (digitExponent <= cutoffExponent))
407
if ((outputDigit > 5) || ((outputDigit == 5) && !scaledValue.
IsZero
()))
417
isExact = scaledValue.
IsZero
();
422
isExact = scaledValue.
IsZero
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.NumberToFloatingPointBits.cs (2)
1134
if (fractionalNumerator.
IsZero
())
1211
bool hasZeroTail = !number.HasNonZeroTail && fractionalRemainder.
IsZero
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (5)
342
bool hasRemainder = !remainder.
IsZero
();
353
roundUp = (midpointComparison > 0) || ((midpointComparison == 0) && !quotient.
IsZero
() && ((quotient.GetBlock(0) & 1) != 0));
399
if (!quotient.
IsZero
())
407
uint digitValue = digit.
IsZero
() ? 0 : digit.GetBlock(0);
411
while (!quotient.
IsZero
());