Skip to content
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

subtraction rounding error #265

Closed
dkfz-med-phys-rad opened this issue Aug 5, 2021 · 1 comment
Closed

subtraction rounding error #265

dkfz-med-phys-rad opened this issue Aug 5, 2021 · 1 comment

Comments

@dkfz-med-phys-rad
Copy link

dkfz-med-phys-rad commented Aug 5, 2021

Subtraction and further operations seems to be wrong - that is, yields unwanted rounding - for larger numbers, e.g.
insect 100000-500.7 yields 99499.3
insect 1000000-500.7 yields 999499, however should be 999499.3

Further, I tried:

pi147²107*2/2
pi × 147^2 × 107 × (2 / 2)
= 7263870
However, that ought to be 7263874.2947

@sharkdp
Copy link
Owner

sharkdp commented Aug 8, 2021

please see #54

@sharkdp sharkdp closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants