12 references to IsNegative
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1035
return float.
IsNegative
(val2) ? val1 : val2;
1195
return float.
IsNegative
(val1) ? val1 : val2;
src\libraries\System.Private.CoreLib\src\System\MathF.cs (5)
73
if (float.
IsNegative
(x))
105
if (float.
IsNegative
(x))
160
if ((regularMod == 0) && float.
IsNegative
(x))
270
return float.
IsNegative
(x) ? y : x;
302
return float.
IsNegative
(x) ? x : y;
src\libraries\System.Private.CoreLib\src\System\Single.cs (4)
988
return
IsNegative
(y) ? x : y;
1019
return
IsNegative
(x) ? x : y;
1178
return
IsNegative
(x) ? y : x;
1208
return
IsNegative
(x) ? x : y;
System.Private.Xml (1)
System\Xml\XmlConvert.cs (1)
1710
valueSpan = float.
IsNegative
(value) ? "-INF" : "INF";