12 references to IsOddInteger
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1724
result = int.
IsOddInteger
(n) ? NegativeInfinity : NaN;
1769
result = int.
IsOddInteger
(n) ? -0.0 : NaN;
src\libraries\System.Private.CoreLib\src\System\Single.cs (10)
1640
result = int.
IsOddInteger
(n) ? NegativeInfinity : NaN;
1685
result = int.
IsOddInteger
(n) ? -0.0f : NaN;
1780
float sign = int.
IsOddInteger
(integral) ? -1.0f : +1.0f;
1831
result = int.
IsOddInteger
(bits) ? -1.0f : +1.0f;
1895
float sign = int.
IsOddInteger
(integral) ? -1.0f : +1.0f;
1972
cosPi = int.
IsOddInteger
(bits) ? -1.0f : +1.0f;
2012
float sign = ((x > 0.0f) ? +1.0f : -1.0f) * (int.
IsOddInteger
(integral) ? -1.0f : +1.0f);
2108
result = sign * (int.
IsOddInteger
(integral) ? -0.0f : +0.0f);
2119
result = +sign * (int.
IsOddInteger
(integral) ? NegativeInfinity : PositiveInfinity);
2149
result = sign * (int.
IsOddInteger
(bits) ? -0.0f : +0.0f);