36 references to IsNegative
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
993
return
IsNegative
(y) ? x : y;
1024
return
IsNegative
(x) ? x : y;
1163
return
IsNegative
(x) ? y : x;
1193
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)
308
if (double.
IsNegative
(x))
340
if (double.
IsNegative
(x))
845
if ((regularMod == 0) && double.
IsNegative
(x))
962
return double.
IsNegative
(val2) ? val1 : val2;
1083
return double.
IsNegative
(x) ? y : x;
1122
return double.
IsNegative
(val1) ? val1 : val2;
1243
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)
1028
return (value.m_imaginary == 0.0) && double.
IsNegative
(value.m_real);
1122
if (double.
IsNegative
(y.m_real))
1124
if (double.
IsNegative
(y.m_imaginary))
1133
if (double.
IsNegative
(x.m_real))
1152
else if (double.
IsNegative
(y.m_imaginary))
1154
if (double.
IsNegative
(x.m_real))
1212
if (double.
IsNegative
(y.m_real))
1214
if (double.
IsNegative
(y.m_imaginary))
1223
if (double.
IsNegative
(x.m_real))
1242
else if (double.
IsNegative
(y.m_imaginary))
1244
if (double.
IsNegative
(x.m_real))
1302
if (double.
IsNegative
(y.m_real))
1304
if (double.
IsNegative
(y.m_imaginary))
1311
if (double.
IsNegative
(x.m_real))
1330
else if (double.
IsNegative
(y.m_imaginary))
1332
if (double.
IsNegative
(x.m_real))
1394
if (double.
IsNegative
(y.m_real))
1396
if (double.
IsNegative
(y.m_imaginary))
1403
if (double.
IsNegative
(x.m_real))
1422
else if (double.
IsNegative
(y.m_imaginary))
1424
if (double.
IsNegative
(x.m_real))