[issue19807] calculation of standard math returns incorrect value
Mark Dickinson added the comment: Sorry; this is just the way that (binary) floating-point works. See http://docs.python.org/2/tutorial/floatingpoint.html for more (or Google 'binary floating point' for a host of references). If you're doing financial calculations, you may want to look into the decimal module: http://docs.python.org/2/library/decimal.html -- nosy: +mark.dickinson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19807 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19807] calculation of standard math returns incorrect value
chili added the comment: Thx for help. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19807 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19807] calculation of standard math returns incorrect value
Changes by chili rbachm...@yahoo.com: -- title: calculation of standard math - calculation of standard math returns incorrect value ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19807 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com