diff options
| author | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:19:17 +0000 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2007-12-10 22:19:17 +0000 |
| commit | 827b35c9fed9e842c96b41198b26cee96a3e679b (patch) | |
| tree | 14eb9fb523b002aab63bc4b99fbbd1bae16f56c2 /PCbuild8 | |
| parent | b9f7f24c2537e40e06de6f12c29f786215b64912 (diff) | |
| download | cpython-git-827b35c9fed9e842c96b41198b26cee96a3e679b.tar.gz | |
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 'PCbuild8')
| -rw-r--r-- | PCbuild8/pythoncore/pythoncore.vcproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild8/pythoncore/pythoncore.vcproj b/PCbuild8/pythoncore/pythoncore.vcproj index 7e36945fe3..9a848d7297 100644 --- a/PCbuild8/pythoncore/pythoncore.vcproj +++ b/PCbuild8/pythoncore/pythoncore.vcproj @@ -828,6 +828,10 @@ >
</File>
<File
+ RelativePath="..\..\Objects\doubledigits.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Objects\memoryobject.c"
>
</File>
|
