Skip to content

test: Exclude the Nx.acosh/1 doctest from the EXLA doctests - #1905

Merged
polvalente merged 1 commit into
elixir-nx:mainfrom
georgeguimaraes:exla-acosh-doctest
Nov 20, 2026
Merged

polvalente merged 1 commit into
elixir-nx:mainfrom
georgeguimaraes:exla-acosh-doctest

Conversation

@georgeguimaraes

Copy link
Copy Markdown
Member

On the current GitHub runners, EXLA gives 1.3169578969248166 for the f64 acosh of 2, and the doctest expects 1.3169578969248168. The difference is 1 ulp in the last digit. The doctest fails on each open EXLA pull request (#1900 to #1904).

The doctests of acos, asinh, atanh and cosh are already in this list for the same reason. The Nx doctest still runs on Nx.BinaryBackend.

On the current GitHub runners, EXLA gives 1.3169578969248166 for the f64 acosh of 2, and the doctest expects 1.3169578969248168. The difference is 1 ulp in the last digit. The doctest fails on each open EXLA pull request (elixir-nx#1900 to elixir-nx#1904). The doctests of acos, asinh, atanh and cosh are already in this list for the same reason. The Nx doctest still runs on Nx.BinaryBackend.
@polvalente
polvalente merged commit 9290e2d into elixir-nx:main Nov 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants