diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:19:17 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:19:17 (GMT) |
commit | 827b35c9fed9e842c96b41198b26cee96a3e679b (patch) | |
tree | 14eb9fb523b002aab63bc4b99fbbd1bae16f56c2 /Misc | |
parent | b9f7f24c2537e40e06de6f12c29f786215b64912 (diff) | |
download | cpython-827b35c9fed9e842c96b41198b26cee96a3e679b.zip cpython-827b35c9fed9e842c96b41198b26cee96a3e679b.tar.gz cpython-827b35c9fed9e842c96b41198b26cee96a3e679b.tar.bz2 |
Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'.
Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 3.0a3? Core and Builtins ----------------- +- Issue #1580: New free format floating point representation based on + "Floating-Point Printer Sample Code", by Robert G. Burger. For example + repr(11./5) now returns '2.2' instead of '2.2000000000000002'. + - Issue #1573: Improper use of the keyword-only syntax makes the parser crash - Issue #1564: The set implementation should special-case PyUnicode instead |