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)
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); 1528float ax = Abs(x); 1529float ay = Abs(y); 1611result = (float)double.Pow(Abs(x), 1.0 / n); 1656result = (float)double.Pow(Abs(x), 1.0 / n); 1771float ax = Abs(x); 1886float ax = Abs(x); 2003float ax = Abs(x); 2090float ax = Abs(x);