30 references to Abs
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
751value = float.Abs(value);
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (1)
435if (float.Abs(det) < float.Epsilon)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (11)
306if (float.Abs(dot) > BillboardMinAngle) 316if (float.Abs(dot) > BillboardMinAngle) 320faceDir = (float.Abs(axisY.Z) > BillboardMinAngle) ? Vector3.UnitX : Vector3.Create(0, 0, -1); 366if (float.Abs(dot) > BillboardMinAngle) 376if (float.Abs(dot) > BillboardMinAngle) 380faceDir = (float.Abs(axisY.Z) > BillboardMinAngle) ? Vector3.Create(-1, 0, 0) : Vector3.Create(0, 0, -1); 1147fAbsX = float.Abs(vectorBasis[a]->X); 1148fAbsY = float.Abs(vectorBasis[a]->Y); 1149fAbsZ = float.Abs(vectorBasis[a]->Z); 1387if (float.Abs(det) < float.Epsilon) 1525if (float.Abs(det) < float.Epsilon)
src\libraries\System.Private.CoreLib\src\System\Single.cs (17)
180uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 227uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 245uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 1108uint bits = BitConverter.SingleToUInt32Bits(Abs(value)); 1135public static bool IsOddInteger(float value) => IsInteger(value) && (Abs((value) % 2) == 1); 1168float ax = Abs(x); 1169float ay = Abs(y); 1198float ax = Abs(x); 1199float ay = Abs(y); 1519float ax = Abs(x); 1520float ay = Abs(y); 1602result = (float)double.Pow(Abs(x), 1.0 / n); 1647result = (float)double.Pow(Abs(x), 1.0 / n); 1762float ax = Abs(x); 1877float ax = Abs(x); 1994float ax = Abs(x); 2081float ax = Abs(x);