Mercurial > cpython-lru_cache-weakref
diff PCbuild/pythoncore.vcproj @ 44262:24749a380409 legacy-trunk
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.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 10 Dec 2007 22:28:56 +0000 |
| parents | 67cb818360f0 |
| children | f909872917b9 |
line wrap: on
line diff
--- a/PCbuild/pythoncore.vcproj Mon Dec 10 20:42:53 2007 +0000 +++ b/PCbuild/pythoncore.vcproj Mon Dec 10 22:28:56 2007 +0000 @@ -485,6 +485,9 @@ RelativePath="..\Objects\dictobject.c"> </File> <File + RelativePath="..\Objects\doubledigits.c"> + </File> + <File RelativePath="..\PC\dl_nt.c"> </File> <File
