Skip to content

Increase vectorized Tan test tolerance - #130469

Merged
kotlarmilos merged 4 commits into
mainfrom
copilot/fix-ios-simulator-tan-test-failure
Jul 13, 2026
Merged

kotlarmilos merged 4 commits into
mainfrom
copilot/fix-ios-simulator-tan-test-failure

Conversation

Copilot AI commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

This gives vectorized TensorPrimitives.Tan a dedicated FMA tolerance of 3e-13 for double and 1e-4f for float. ARM64 iOS results differ from scalar T.Tan by up to approximately 1.72e-13 and 8.09e-5, so the shared trigonometric tolerances do not cover the observed range. The shared trigonometric and non-FMA tolerances remain unchanged.

Fixes #129045

Note

This description was updated by GitHub Copilot.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[ci-scan] Test failure: TensorPrimitives.SpanDestinationFunctions_ValueRange (Tan) on iossimulator

4 participants