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)
358if (float.Abs(det) < float.Epsilon)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (11)
206if (float.Abs(dot) > BillboardMinAngle) 216if (float.Abs(dot) > BillboardMinAngle) 220faceDir = (float.Abs(axisY.Z) > BillboardMinAngle) ? Vector3.UnitX : Vector3.Create(0, 0, -1); 266if (float.Abs(dot) > BillboardMinAngle) 276if (float.Abs(dot) > BillboardMinAngle) 280faceDir = (float.Abs(axisY.Z) > BillboardMinAngle) ? Vector3.Create(-1, 0, 0) : Vector3.Create(0, 0, -1); 1047fAbsX = float.Abs(vectorBasis[a]->X); 1048fAbsY = float.Abs(vectorBasis[a]->Y); 1049fAbsZ = float.Abs(vectorBasis[a]->Z); 1287if (float.Abs(det) < float.Epsilon) 1425if (float.Abs(det) < float.Epsilon)
src\libraries\System.Private.CoreLib\src\System\Single.cs (17)
182uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 229uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 247uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 1110uint bits = BitConverter.SingleToUInt32Bits(Abs(value)); 1137public static bool IsOddInteger(float value) => IsInteger(value) && (Abs((value) % 2) == 1); 1170float ax = Abs(x); 1171float ay = Abs(y); 1200float ax = Abs(x); 1201float ay = Abs(y); 1525float ax = Abs(x); 1526float ay = Abs(y); 1608result = (float)double.Pow(Abs(x), 1.0 / n); 1653result = (float)double.Pow(Abs(x), 1.0 / n); 1768float ax = Abs(x); 1883float ax = Abs(x); 2000float ax = Abs(x); 2087float ax = Abs(x);