[issue19807] calculation of standard math returns incorrect value

2013-11-27 Thread Mark Dickinson

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

2013-11-27 Thread chili

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

2013-11-26 Thread chili

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