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