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)
122
Vector512<float> z = ExpOperator<float>.Invoke(y - Vector512.
Create
((float)Single_LOGV));
123
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)
284
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)
112
Vector512<float> z = ExpOperator<float>.Invoke(y - Vector512.
Create
((float)Single_LOGV));
113
Vector512<float> result = Vector512.
Create
((float)Single_HALFV) * (z - (Vector512.
Create
((float)Single_INVV2) / z));
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (14)
199
Vector512<float> dn = MultiplyAddEstimateOperator<float>.Invoke(uxMasked, Vector512.
Create
(2 / float.Pi), Vector512.
Create
(AlmHuge));
201
dn -= Vector512.
Create
(AlmHuge);
204
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(-float.Pi / 2), f);
205
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(Pi_Tail2), f);
206
f = MultiplyAddEstimateOperator<float>.Invoke(dn, Vector512.
Create
(Pi_Tail3), f);
213
Vector512<float> a1 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C2), f2, Vector512.
Create
(C1));
214
Vector512<float> a2 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C4), f2, Vector512.
Create
(C3));
215
Vector512<float> a3 = MultiplyAddEstimateOperator<float>.Invoke(Vector512.
Create
(C6), f2, Vector512.
Create
(C5));
217
Vector512<float> b2 = MultiplyAddEstimateOperator<float>.Invoke(f8, a3, f12 * Vector512.
Create
(C7));
223
Vector512.
Create
(-1f) / result);
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
114
Vector512<float> z = ExpM1Operator<float>.Invoke(Vector512.
Create
(-2f) * y);
116
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)
2085
return Equals(vector,
Create
(float.NegativeInfinity).As<float, T>());
2160
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);