Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants