17 references to IsNegative
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
1007
return
IsNegative
(y) ? x : y;
1038
return
IsNegative
(x) ? x : y;
1177
return
IsNegative
(x) ? y : x;
1207
return
IsNegative
(x) ? x : y;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
530
bool isNegative = double.
IsNegative
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (7)
319
if (double.
IsNegative
(x))
351
if (double.
IsNegative
(x))
856
if ((regularMod == 0) && double.
IsNegative
(x))
973
return double.
IsNegative
(val2) ? val1 : val2;
1094
return double.
IsNegative
(x) ? y : x;
1133
return double.
IsNegative
(val1) ? val1 : val2;
1254
return double.
IsNegative
(x) ? x : y;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (1)
126
bool isNegative = double.
IsNegative
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
589
public static bool IsNegative(NFloat value) => NativeType.
IsNegative
(value._value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
506
if (double.
IsNegative
(value) || double.IsNaN(value))
System.Private.Xml (1)
System\Xml\XmlConvert.cs (1)
1734
valueSpan = double.
IsNegative
(value) ? "-INF" : "INF";
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
603
return (value.m_imaginary == 0.0) && double.
IsNegative
(value.m_real);