Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ public static IEnumerable<object[]> SpanDestinationFunctionsToTest()
yield return Create(TensorPrimitives.Sinh, T.Sinh, Helpers.DetermineTolerance<T>(doubleTolerance: 1e-14));
yield return Create(TensorPrimitives.SinPi, T.SinPi, Helpers.DetermineTolerance<T>(doubleTolerance: 1e-13, floatTolerance: 1e-4f));
yield return Create(TensorPrimitives.Sqrt, T.Sqrt);
yield return Create(TensorPrimitives.Tan, T.Tan, trigTolerance);
// Tan = Sin/Cos amplifies range-reduction rounding for large radian inputs,
// so it needs wider tolerance than individual trig functions (matches non-FMA tolerance).
Comment on lines +510 to +511
yield return Create(TensorPrimitives.Tan, T.Tan, Helpers.DetermineTolerance<T>(doubleTolerance: 1e-10, floatTolerance: 1e-4f));
yield return Create(TensorPrimitives.Tanh, T.Tanh);
yield return Create(TensorPrimitives.TanPi, T.TanPi);
yield return Create(TensorPrimitives.Truncate, T.Truncate);
Expand Down
Loading