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