12 references to IsOddInteger
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1715result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1760result = int.IsOddInteger(n) ? -0.0 : NaN;
src\libraries\System.Private.CoreLib\src\System\Single.cs (10)
1631result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1676result = int.IsOddInteger(n) ? -0.0f : NaN; 1771float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1822result = int.IsOddInteger(bits) ? -1.0f : +1.0f; 1886float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1963cosPi = int.IsOddInteger(bits) ? -1.0f : +1.0f; 2003float sign = ((x > 0.0f) ? +1.0f : -1.0f) * (int.IsOddInteger(integral) ? -1.0f : +1.0f); 2099result = sign * (int.IsOddInteger(integral) ? -0.0f : +0.0f); 2110result = +sign * (int.IsOddInteger(integral) ? NegativeInfinity : PositiveInfinity); 2140result = sign * (int.IsOddInteger(bits) ? -0.0f : +0.0f);