26 references to Abs
System.Private.CoreLib (26)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
776value = float.Abs(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.cs (1)
864if (float.Abs(det) < InverseEpsilon)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (7)
820if (float.Abs(dot) > BillboardMinAngle) 830if (float.Abs(dot) > BillboardMinAngle) 834faceDir = (float.Abs(axisY.GetElement(2)) > BillboardMinAngle) ? Vector128.CreateScalar(1.0f) : Vector128.Create(0.0f, 0.0f, -1.0f, 0.0f); 882if (float.Abs(dot) > BillboardMinAngle) 892if (float.Abs(dot) > BillboardMinAngle) 896faceDir = (float.Abs(axisY.GetElement(2)) > BillboardMinAngle) ? Vector128.Create(-1.0f, 0.0f, 0.0f, 0.0f) : Vector128.Create(0.0f, 0.0f, -1.0f, 0.0f); 2203if (float.Abs(det) < InvertEpsilon)
src\runtime\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)); 1124uint bits = BitConverter.SingleToUInt32Bits(Abs(value)); 1151public static bool IsOddInteger(float value) => IsInteger(value) && (Abs((value) % 2) == 1); 1184float ax = Abs(x); 1185float ay = Abs(y); 1214float ax = Abs(x); 1215float ay = Abs(y); 1572float ax = Abs(x); 1573float ay = Abs(y); 1655result = (float)double.Pow(Abs(x), 1.0 / n); 1700result = (float)double.Pow(Abs(x), 1.0 / n); 1815float ax = Abs(x); 1924float ax = Abs(x); 2041float ax = Abs(x); 2128float ax = Abs(x);