winlinchu <winlinchu at yahoo.it> wrote: > Now, Python unified ints and long ints. > For Python 3k, could be introduced a "Decimal" type > (yes, Decimal, the library module!) in place of the > actual float object. Of course, the Decimal type would > be rewritten in C. There is code which relies on standard IEEE 754 floating point math (speed, behavior, rounding, etc.) that would break with the replacement of floats with decimals. Further, even if it were to be converted to C, it would likely be hundreds of times slower than the processor-native float operations. This discussion has been had before use: site:mail.python.org decimal replace float python in google to discover such discussions. For example: http://mail.python.org/pipermail/python-dev/2005-June/054416.html - Josiah
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