30 references to Create
System.Numerics.Tensors (26)
System\Numerics\Tensors\netcore\TensorPrimitives.Cbrt.cs (1)
63
return ExpOperator<float>.Invoke(LogOperator<float>.Invoke(x.AsSingle()) / Vector512.
Create
(3f)).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
723
value = Vector512.Min(Vector512.
Create
(MaxHalfValueBelowInfinity), value);
System\Numerics\Tensors\netcore\TensorPrimitives.Cosh.cs (3)
129
Vector512<float> z = ExpOperator<float>.Invoke(y - Vector512.
Create
((float)Single_LOGV));
130
return (Vector512.
Create
((float)Single_HALFV) * (z + (Vector512.
Create
((float)Single_INVV2) / z))).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.RootN.cs (1)
65
return ExpOperator<float>.Invoke(LogOperator<float>.Invoke(x.AsSingle()) / Vector512.
Create
((float)_n)).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
296
return TruncateOperator<float>.Invoke(x.AsSingle() + CopySignOperator<float>.Invoke(Vector512.
Create
(0.49999997f), x.AsSingle())).As<float, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (3)
119
Vector512<float> z = ExpOperator<float>.Invoke(y - Vector512.
Create
((float)Single_LOGV));
120
Vector512<float> result = Vector512.
Create
((float)Single_HALFV) * (z - (Vector512.
Create
((float)Single_INVV2) / z));
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (14)
206
Vector512<float> dn = MultiplyAddEstimateOperator<float>.Invoke(uxMasked, Vector512.
Create
(2 / float.Pi), Vector512.
Create
(AlmHuge));
208
dn -= Vector512.
Create
(AlmHuge);
211
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(-float.Pi / 2), f);
212
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(Pi_Tail2), f);
213
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(Pi_Tail3), f);
220
Vector512<float> a1 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C2), f2, Vector512.
Create
(C1));
221
Vector512<float> a2 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C4), f2, Vector512.
Create
(C3));
222
Vector512<float> a3 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C6), f2, Vector512.
Create
(C5));
224
Vector512<float> b2 = MultiplyAddEstimateOperator<float>.Invoke(f8, a3, f12 * Vector512.
Create
(C7));
230
Vector512.
Create
(-1f) / result);
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
121
Vector512<float> z = ExpM1Operator<float>.Invoke(Vector512.
Create
(-2f) * y);
123
return (sign ^ (-z / (z + Vector512.
Create
(2f))).AsUInt32()).As<uint, T>();
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
2096
return Equals(vector,
Create
(float.NegativeInfinity).As<float, T>());
2171
return Equals(vector,
Create
(float.PositiveInfinity).As<float, T>());
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
343
return vector ^ Vector512.
Create
(-0.0f).As<float, T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (1)
2571
result = (TVector)(object)Vector512.
Create
(value);