Open gaige opened 1 year ago
I found this issue while searching for other people experiencing weird float issues with Xcode 14.3 There is a small chance it's related to my issue too so linking here just in case:
https://core-math.gitlabpages.inria.fr/ try linking against this standard library.
This is an odd one. It looks like something changed in the math libraries in macOS 13.3+ that results in a large enough change in accuracy to cause tests for adams ws2 to fail.
Example of problem
Running
gie
usingadams_ws2.gie
on macOS 13.3.1 fails, even if the gie binary was built months ago. Same test run on macOS 13.2 (with the identical binaries) succeed. NOTE this same test works fine on Apple Silicon CPUs, but fails on x86_64 CPUs. Regression testing through macOS 12 and macOS 11 indicate no similar problem on those with the same binary.Minimal test case with a small .gie file is:
Output:
Using
proj
only:Problem description
The expectation here is that the original test was appropriate, and that 1e-10 and 15 rounds are appropriate convergence parameters for the inverse. By increasing the maximum number of rounds to 18 or decreasing the accuracy requirement to 1e-8, the convergence happens on the Intel CPUs as well as ARM and under all OSs.
Expected Output
With the original test:
With the above isolation:
Using
proj
only:Environment Information
Installation method