24 references to Abs
System.Private.CoreLib (24)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (22)
184ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 231ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 249ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 1127public static bool IsEvenInteger(double value) => IsInteger(value) && (Abs(value % 2) == 0); 1136public static bool IsOddInteger(double value) => IsInteger(value) && (Abs(value % 2) == 1); 1169double ax = Abs(x); 1170double ay = Abs(y); 1199double ax = Abs(x); 1200double ay = Abs(y); 1555double ax = Abs(x); 1556double ay = Abs(y); 1741result = Pow(Abs(x), 1.0 / n); 1786result = Pow(Abs(x), 1.0 / n); 1901double ax = Abs(x); 2140double bound = Abs(product) * ConversionErrorScale; 2184if ((Abs(next - result) * ConversionScaleUp) != (2.0 * Abs(dropped))) 2196if (Abs(degrees) < DegreesToRadiansMin) 2207if (Abs(radians) < RadiansToDegreesMin) 2236double ax = Abs(x); 2353double ax = Abs(x); 2440double ax = Abs(x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
474value = double.Abs(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1218public static NFloat Abs(NFloat value) => new NFloat(NativeType.Abs(value._value));