15 references to IsNegative
System.Private.CoreLib (14)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1036
return float.
IsNegative
(val2) ? val1 : val2;
1196
return float.
IsNegative
(val1) ? val1 : val2;
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (5)
71
if (float.
IsNegative
(x))
103
if (float.
IsNegative
(x))
158
if ((regularMod == 0) && float.
IsNegative
(x))
268
return float.
IsNegative
(x) ? y : x;
300
return float.
IsNegative
(x) ? x : y;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (1)
168
bool isNegative = float.
IsNegative
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (1)
1937
if (float.
IsNegative
(det))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (1)
426
if (float.
IsNegative
(cosOmega))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (4)
1004
return
IsNegative
(y) ? x : y;
1035
return
IsNegative
(x) ? x : y;
1194
return
IsNegative
(x) ? y : x;
1224
return
IsNegative
(x) ? x : y;
System.Private.Xml (1)
System\Xml\XmlConvert.cs (1)
1710
valueSpan = float.
IsNegative
(value) ? "-INF" : "INF";