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 /PCbuild | |
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 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcproj | 3 |
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 |