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