-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some tests failing on macOS #78
Comments
Possibly caused by the bug fixed in JuliaLang/julia#50989 (see the discussion in #74)? Can you try with Julia 1.10 or master? |
You can check whether you're Julia version is affected by the bug e.g. by for T in (Float32, Float16)
@test expm1(T(-1.1)) ≈ expm1(big(T(-1.1)))
end (the test added in the Julia bugfix) or checking the output of julia> Float16(expm1(-exp(big(Float16(0.1)))))
Float16(-0.669)
julia> expm1(-exp(Float16(0.1)))
Float16(-0.338)
julia> Float32(expm1(-exp(big(Float32(0.1)))))
-0.6688457f0
julia> expm1(-exp(Float32(0.1)))
-0.3376915f0 |
Yes, this fails locally (Julia v1.9.3, macOS Apple Silicon).
Feel free to close this issue. I could try 1.10 when the stable comes out. |
It will also be part of Julia 1.9.4: JuliaLang/julia@v1.9.3...release-1.9 |
Running the test suite on macOS I get:
Tests pass on Ubuntu (which the only platform currently covered by CI).
The text was updated successfully, but these errors were encountered: