A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-May/045063.html below:

[Python-Dev] rounding problem

[Python-Dev] rounding problem [Python-Dev] rounding problemTim Peters tim.one at comcast.net
Mon May 31 21:40:14 EDT 2004
[Norlin Abd Rahim]
> the number actually comes from multiplication between 237.50 and 4.762
> which will get 1130.975.

Please read the Appendix on floating point issues in the Python Tutorial:

    http://docs.python.org/tut/node15.html

The actual fp product of those two numbers is strictly less than 1130.975.
You shouldn't have any such problem with FixedPoint if you're using it
correctly, but python-dev isn't the right place for this (so if you want
more on this, please use the newsgroup comp.lang.python). 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4