26 references to Abs
System.Numerics.Tensors (15)
System\Numerics\Tensors\netcore\TensorPrimitives.Abs.cs (1)
59
return Vector128.
Abs
(x);
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
592
value = Vector128.
Abs
(value);
System\Numerics\Tensors\netcore\TensorPrimitives.Cosh.cs (2)
79
Vector128<float> y = Vector128.
Abs
(x);
88
Vector128<double> y = Vector128.
Abs
(x);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (2)
34
Vector128<T> resultMag = Vector128.
Abs
(result), currentMag = Vector128.
Abs
(current);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMinMagnitude.cs (2)
34
Vector128<T> resultMag = Vector128.
Abs
(result), currentMag = Vector128.
Abs
(current);
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
323
return Vector128.ConditionalSelect(Vector128.LessThan(Vector128.
Abs
(x), limit),
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
61
Vector128<float> y = Vector128.
Abs
(x);
72
Vector128<double> y = Vector128.
Abs
(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
123
Vector128<float> uxMasked = Vector128.
Abs
(x);
256
Vector128<double> uxMasked = Vector128.
Abs
(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
69
Vector128<float> y = Vector128.
Abs
(x);
78
Vector128<double> y = Vector128.
Abs
(x);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
311
public static Vector2 Abs(Vector2 value) => Vector128.
Abs
(value.AsVector128Unsafe()).AsVector2();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
332
public static Vector3 Abs(Vector3 value) => Vector128.
Abs
(value.AsVector128Unsafe()).AsVector3();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
364
public static Vector4 Abs(Vector4 value) => Vector128.
Abs
(value.AsVector128()).AsVector4();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (5)
1891
return IsPositiveInfinity(
Abs
(vector));
1970
return LessThan(
Abs
(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>();
1974
return LessThan(
Abs
(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>();
2045
return LessThan(
Abs
(vector).AsUInt32() - Vector128<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
2049
return LessThan(
Abs
(vector).AsUInt64() - Vector128<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
486
static Vector128<T> ISimdVector<Vector128<T>, T>.Abs(Vector128<T> vector) => Vector128.
Abs
(vector);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
76
Vector128.
Abs
(vector._lower),
77
Vector128.
Abs
(vector._upper)