summaryrefslogtreecommitdiffstats
path: root/PCbuild
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 /PCbuild
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 'PCbuild')
-rw-r--r--PCbuild/pythoncore.vcproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index 19cd833..326eacc 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -488,6 +488,9 @@
RelativePath="..\Objects\dictobject.c">
</File>
<File
+ RelativePath="..\Objects\doubledigits.c">
+ </File>
+ <File
RelativePath="..\PC\dl_nt.c">
</File>
<File