12 references to IsOddInteger
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1721result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1766result = int.IsOddInteger(n) ? -0.0 : NaN;
src\libraries\System.Private.CoreLib\src\System\Single.cs (10)
1637result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1682result = int.IsOddInteger(n) ? -0.0f : NaN; 1777float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1828result = int.IsOddInteger(bits) ? -1.0f : +1.0f; 1892float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1969cosPi = int.IsOddInteger(bits) ? -1.0f : +1.0f; 2009float sign = ((x > 0.0f) ? +1.0f : -1.0f) * (int.IsOddInteger(integral) ? -1.0f : +1.0f); 2105result = sign * (int.IsOddInteger(integral) ? -0.0f : +0.0f); 2116result = +sign * (int.IsOddInteger(integral) ? NegativeInfinity : PositiveInfinity); 2146result = sign * (int.IsOddInteger(bits) ? -0.0f : +0.0f);