summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-10 22:19:17 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-10 22:19:17 (GMT)
commit827b35c9fed9e842c96b41198b26cee96a3e679b (patch)
tree14eb9fb523b002aab63bc4b99fbbd1bae16f56c2 /Misc
parentb9f7f24c2537e40e06de6f12c29f786215b64912 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3e3f0e4..61e150c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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