8 references to CopySignOperator
System.Numerics.Tensors (8)
System\Numerics\Tensors\netcore\TensorPrimitives.CopySign.cs (2)
25
InvokeSpanSpanIntoSpan<T,
CopySignOperator
<T>>(x, sign, destination);
40
InvokeSpanScalarIntoSpan<T,
CopySignOperator
<T>>(x, sign, destination);
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (6)
253
return TruncateOperator<float>.Invoke(x.AsSingle() +
CopySignOperator
<float>.Invoke(Vector128.Create(0.49999997f), x.AsSingle())).As<float, T>();
263
return TruncateOperator<double>.Invoke(x.AsDouble() +
CopySignOperator
<double>.Invoke(Vector128.Create(0.49999999999999994), x.AsDouble())).As<double, T>();
271
return TruncateOperator<float>.Invoke(x.AsSingle() +
CopySignOperator
<float>.Invoke(Vector256.Create(0.49999997f), x.AsSingle())).As<float, T>();
276
return TruncateOperator<double>.Invoke(x.AsDouble() +
CopySignOperator
<double>.Invoke(Vector256.Create(0.49999999999999994), x.AsDouble())).As<double, T>();
284
return TruncateOperator<float>.Invoke(x.AsSingle() +
CopySignOperator
<float>.Invoke(Vector512.Create(0.49999997f), x.AsSingle())).As<float, T>();
289
return TruncateOperator<double>.Invoke(x.AsDouble() +
CopySignOperator
<double>.Invoke(Vector512.Create(0.49999999999999994), x.AsDouble())).As<double, T>();