-
Notifications
You must be signed in to change notification settings - Fork 142
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
arb_zero_pm_one prints as [+/- 1.01] instead of [+/- 1.00] #391
Comments
Since |
Looking at the documentation for
In other words, the radius when converted to decimal has to be greater or equal to the radius in binary. I believe it just does not check if the interval can be converted without loss of precision (like |
It might be worth to fix this so such constants print more nicely. @fredrik-johansson any opinion here? |
Note that this came up while working on a Python wrapper for Arb. In an interactive Python/SageMath session it's just odd to type |
The following code produces the output
[+/- 1.01]
.Since internally this corresponds to the ball
[+/- 1]
, I would have expected this to print[+/- 1.00]
.Is there a reason why
[+/- 1.01]
would be the correct output here?(I produced this output with arb 2.20 as packaged on conda-forge.)
The text was updated successfully, but these errors were encountered: