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
Relative tolerance in French Sage book #18593
Comments
Author: Rob Beezer |
Branch: u/rbeezer/tolerance-french-book |
Commit: |
comment:1
Increased the tolerance by an order of magnitude, so test now passes. Paul - feel free to cc the relevant section author! Mostly experimenting making a contribution from with SageMathCloud, but thought it best to kill this one (repeated) failure. Thanks, Rob New commits:
|
comment:2
Fixed typo in ticket title. ;-) |
Reviewer: Marc Mezzarobba |
comment:4
just curious, I'd like to investigate more. Here is what I get with Sage 6.8.beta1 on my workstation:
What do you get on the machine where the test did fail? Paul |
comment:5
One should not expect the numerical garbage to be reproducible when changing architectures: even if basic operations are compliant with the IEEE norm, the way they are scheduled (by the compiler or programmer) impacts the numerical noise. I ran directly the LAPACK degesv implementation of GotoBLAS-2.11 on various architectures and got the following values: x = [-1.5000000000000067 ,-0.50000000000000389 ,2.7500000000000098] for Intel Haswell, SandyBridge and Westmere, AMD K8, |
comment:6
indeed the -0.50000000000000855 middle value on AMD K10 gives a relative error of 1.53e-14, which is larger than the previous tolerance of 1e-14. |
comment:7
Paul - Sorry to have been incomplete on this one. Indeed, the failure looks just like the AMD K10 "middle one." Marc - thanks for the review!
|
Changed branch from u/rbeezer/tolerance-french-book to |
A doctest from the French Sage book just barely fails in SageMathCloud (Intel Haswell, iirc).
CC: @zimmermann6 @ClementPernet
Component: documentation
Keywords: french book doctest tolerance
Author: Rob Beezer
Branch/Commit:
bf5b521
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/18593
The text was updated successfully, but these errors were encountered: