Issue 14389: Mishandling of large numbers (original) (raw)
Issue14389
Created on 2012-03-22 15:37 by Practicing.Zazen, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg156576 - (view) | Author: Practicing Zazen (Practicing.Zazen) | Date: 2012-03-22 15:37 |
Please let me know if this is accepted behavior or not. >>> 99999*99999999999 9999899999900001 >>> 99999*99999999999+0.1 9999899999900000.0 >>> 99999*99999999999+1 9999899999900002 | ||
msg156579 - (view) | Author: Antoine Pitrou (pitrou) * ![]() |
Date: 2012-03-22 15:50 |
See http://docs.python.org/dev/faq/design.html#why-are-floating-point-calculations-so-inaccurate | ||
msg156585 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2012-03-22 16:10 |
You might want to take a look at the Decimal module. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:28 | admin | set | github: 58597 |
2012-03-22 16:10:07 | r.david.murray | set | nosy: + r.david.murraymessages: + |
2012-03-22 16:08:59 | r.david.murray | set | status: open -> closedresolution: not a bugstage: resolved |
2012-03-22 15:50:40 | pitrou | set | nosy: + pitroumessages: + |
2012-03-22 15:37:16 | Practicing.Zazen | create |