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
Sage 2.10.alpha3: numerical noise doctest failure with gcc 4.2.2/x86-64 #1790
Comments
comment:2
Merged in Sage 2.10.alpha4 |
comment:3
Wait, RIF is based on mpfr/gmp, right? So the answers should be the same right down to the last bit on any platform...something deeper is going on here that (unless I'm mistaken) shouldn't just be covered up with ... in the doctests. |
comment:4
Well, Carl Witty and others are aware of the issue and we have been "fixing" those issue like this for a while. I think the real issue might be that the routine that converts the binary representation to string does give you more decimal places than you ask for to ensure that on reconversion you will get the same binary representation. But that is an issue that should be discussed on sage-devel with people like Paul Zimmermann. For that please open another ticket and close this ticket, unless you disagree. Cheers, Michael |
comment:5
If Carl Witty and others are already aware of the issue, I'm more confident about this. I'll re-close the ticket. |
comment:6
Well, I am fairly sure that Carl knows about this since it has been discussed in his presence in IRC. Please also have a look at [and its follow ups] http://websympa.loria.fr/wwsympa/arc/mpfr/2008-01/msg00039.html which discusses reqdigits in our mpfr wrapper. This might cause some of the above issue, but we should really discuss this on sage-devel in my opinion and then comment in the sources, so this is solved once and for all. I had the same reaction as you initially since I also expected the results from computations in this ring [and the mpfi wrapper] to be identical every time. Cheers, Michael |
Attachment: Sage-2.10.alpha3-#1790-leftovers.patch.gz |
As reported by Kate in https://groups.google.com/group/sage-devel/t/1cd682b8f3e49748
Component: doctest coverage
Issue created by migration from https://trac.sagemath.org/ticket/1790
The text was updated successfully, but these errors were encountered: