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
Inconsistencies in printing elements of RDF and RR = RealField(53) #22797
Comments
comment:1
An answer to my side question:
|
Replying to @zimmermann6:
See #21124.
|
comment:3
this does not answer my question. |
comment:4
Replying to @zimmermann6:
Sorry, I misread your question. The problem is that there are various things here: So your question 2) is about the difference in For For
There is a comment in the code # This avoids the confusion a lot of people have with the last
# 1-2 binary digits being wrong due to rounding coming from
# representing numbers in binary. and the feature was added in
(i.e. a commit totally unrelated to decimal representations of real numbers) |
comment:5
in my opinion, it would be better if RR would also print 16 significant digits, for two
Besides, note that the
Paul |
comment:6
Replying to @zimmermann6:
Of course. I only answered the "why" question, I didn't say I agreed with it :-) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:9
Use |
comment:10
I'm a bit confused here. I can answer all your questions but I don't know whether there remains a bug or not... |
comment:11
thank you for answering 3). It remains 1) and 2) which show inconsistent behaviour in my opinion. |
Consider the following:
Questions:
why does
a
not give the same output asa.str()
(without the quotes)?why does RDF output one more digit than RR (and two less with the
str
method)?Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/22797
The text was updated successfully, but these errors were encountered: