diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:28:56 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:28:56 (GMT) |
commit | 284d9276250d78e8dfe59dc9a64cb0422265148b (patch) | |
tree | af50d506dcace51e3fe2084546320fa5f5ec3bb1 /PCbuild9/pythoncore.vcproj | |
parent | 8c3d0f7839a380d322428b2284e169d156e26736 (diff) | |
download | cpython-284d9276250d78e8dfe59dc9a64cb0422265148b.zip cpython-284d9276250d78e8dfe59dc9a64cb0422265148b.tar.gz cpython-284d9276250d78e8dfe59dc9a64cb0422265148b.tar.bz2 |
Backport of r59456:59458 from py3k to trunk
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 'PCbuild9/pythoncore.vcproj')
-rw-r--r-- | PCbuild9/pythoncore.vcproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild9/pythoncore.vcproj b/PCbuild9/pythoncore.vcproj index df1f512..ba41095 100644 --- a/PCbuild9/pythoncore.vcproj +++ b/PCbuild9/pythoncore.vcproj @@ -1371,6 +1371,10 @@ > </File> <File + RelativePath="..\Objects\doubledigits.c" + > + </File> + <File RelativePath="..\Objects\enumobject.c" > </File> |