19 references to Abs
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Double.cs (17)
182ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 229ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 247ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 1111public static bool IsEvenInteger(double value) => IsInteger(value) && (Abs(value % 2) == 0); 1120public static bool IsOddInteger(double value) => IsInteger(value) && (Abs(value % 2) == 1); 1153double ax = Abs(x); 1154double ay = Abs(y); 1183double ax = Abs(x); 1184double ay = Abs(y); 1506double ax = Abs(x); 1507double ay = Abs(y); 1692result = Pow(Abs(x), 1.0 / n); 1737result = Pow(Abs(x), 1.0 / n); 1852double ax = Abs(x); 1967double ax = Abs(x); 2084double ax = Abs(x); 2171double ax = Abs(x);
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
478value = double.Abs(value);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1291public static NFloat Abs(NFloat value) => new NFloat(NativeType.Abs(value._value));