36 references to IsNegative
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
991
return
IsNegative
(y) ? x : y;
1022
return
IsNegative
(x) ? x : y;
1161
return
IsNegative
(x) ? y : x;
1191
return
IsNegative
(x) ? x : y;
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
536
bool isNegative = double.
IsNegative
(value);
src\libraries\System.Private.CoreLib\src\System\Math.cs (7)
318
if (double.
IsNegative
(x))
350
if (double.
IsNegative
(x))
855
if ((regularMod == 0) && double.
IsNegative
(x))
972
return double.
IsNegative
(val2) ? val1 : val2;
1093
return double.
IsNegative
(x) ? y : x;
1132
return double.
IsNegative
(val1) ? val1 : val2;
1253
return double.
IsNegative
(x) ? x : y;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
590
public static bool IsNegative(NFloat value) => NativeType.
IsNegative
(value._value);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
512
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 (21)
System\Numerics\Complex.cs (21)
1018
return (value.m_imaginary == 0.0) && double.
IsNegative
(value.m_real);
1112
if (double.
IsNegative
(y.m_real))
1114
if (double.
IsNegative
(y.m_imaginary))
1123
if (double.
IsNegative
(x.m_real))
1142
else if (double.
IsNegative
(y.m_imaginary))
1144
if (double.
IsNegative
(x.m_real))
1202
if (double.
IsNegative
(y.m_real))
1204
if (double.
IsNegative
(y.m_imaginary))
1213
if (double.
IsNegative
(x.m_real))
1232
else if (double.
IsNegative
(y.m_imaginary))
1234
if (double.
IsNegative
(x.m_real))
1292
if (double.
IsNegative
(y.m_real))
1294
if (double.
IsNegative
(y.m_imaginary))
1301
if (double.
IsNegative
(x.m_real))
1320
else if (double.
IsNegative
(y.m_imaginary))
1322
if (double.
IsNegative
(x.m_real))
1384
if (double.
IsNegative
(y.m_real))
1386
if (double.
IsNegative
(y.m_imaginary))
1393
if (double.
IsNegative
(x.m_real))
1412
else if (double.
IsNegative
(y.m_imaginary))
1414
if (double.
IsNegative
(x.m_real))