12 references to IsOddInteger
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1735result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1780result = int.IsOddInteger(n) ? -0.0 : NaN;
src\libraries\System.Private.CoreLib\src\System\Single.cs (10)
1617result = int.IsOddInteger(n) ? NegativeInfinity : NaN; 1662result = int.IsOddInteger(n) ? -0.0f : NaN; 1757float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1808result = int.IsOddInteger(bits) ? -1.0f : +1.0f; 1872float sign = int.IsOddInteger(integral) ? -1.0f : +1.0f; 1949cosPi = int.IsOddInteger(bits) ? -1.0f : +1.0f; 1989float sign = ((x > 0.0f) ? +1.0f : -1.0f) * (int.IsOddInteger(integral) ? -1.0f : +1.0f); 2085result = sign * (int.IsOddInteger(integral) ? -0.0f : +0.0f); 2096result = +sign * (int.IsOddInteger(integral) ? NegativeInfinity : PositiveInfinity); 2126result = sign * (int.IsOddInteger(bits) ? -0.0f : +0.0f);