218 Commits (acfdfdafa202b634bc9f9ca5d3aa52e0aeb04e73)

Author SHA1 Message Date
Mark Dickinson 1abe6cd842 Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 14 years ago
Mark Dickinson 874d59ee91 Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. 15 years ago
Mark Dickinson 7b1bee47ae Use copysign to produce appropriately signed zeros instead of trying to worm around possible compiler optimizations. 15 years ago
Mark Dickinson 0169af1534 Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson 33154388f9 Backout broken backport. (Sorry.) 15 years ago
Mark Dickinson 11e77ffcbc Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson ecf8ec67ce Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson d2a9b20efa Issue #10596: Fix float.__mod__ to have the same behaviour as 15 years ago
Mark Dickinson 66f2623fb2 Remove some unecessary '#ifdef Py_NAN's from floatobject.c 15 years ago
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric 15 years ago
Georg Brandl 71c23d4473 Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Mark Dickinson 388122d43b Issue #9337: Make float.__str__ identical to float.__repr__. 16 years ago
Mark Dickinson 21a1f734fb Style nit. 16 years ago
Benjamin Peterson 1ed6670055 Merged revisions 82448 via svnmerge from 16 years ago
Benjamin Peterson df1bc015f2 Merged revisions 82447 via svnmerge from 16 years ago
Benjamin Peterson 5d4708374c Merged revisions 82447 via svnmerge from 16 years ago
Benjamin Peterson cf76d1f0c7 add space 16 years ago
Mark Dickinson d19052c161 Issue #9089: Remove references to intobject.c and intobject.h from comments. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Brett Cannon a8ac944924 Add back in a line that was unneeded which advanced a pointer, but commented 16 years ago
Brett Cannon 6f38175cbc Remove an unneeded variable increment. 16 years ago
Ezio Melotti 50363262b2 Merged revisions 78319 via svnmerge from 16 years ago
Ezio Melotti bce3e17bd2 #7482: clarify error message in case of division by zero of float and complex numbers. 16 years ago
Mark Dickinson 9ab44b509a Merged revisions 77139-77140 via svnmerge from 16 years ago
Mark Dickinson 99d652ef66 Issue #7534: Fix handling of nans, infinities, and negative zero in ** 16 years ago
Mark Dickinson a4962cb694 Merged revisions 76561 via svnmerge from 16 years ago
Mark Dickinson 31f0cfef0e Include ieeefp.h (when available) in pyport.h instead of individually in 16 years ago
Mark Dickinson bd15a06fd3 Issue #7117, continued: Change round implementation to use the correctly-rounded 16 years ago
Mark Dickinson e0d6f605f2 Fix extra-long line; also makes py3k match trunk here. 16 years ago
Mark Dickinson 8568b19850 Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in 16 years ago
Eric Smith cfaf79c56e Start to remove _PyOS_double_to_string, as mentioned in issue 7117. 16 years ago
Eric Smith 8c3fb39440 Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file. 16 years ago
Eric Smith b327258d4f Removed usage of unsafe PyFloat_AsString. 17 years ago
Benjamin Peterson 78565b2216 Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from 17 years ago
Benjamin Peterson bf9ec9ba67 add underscores 17 years ago
Mark Dickinson bd16edd305 Refactor to remove duplicated nan/inf parsing code in 17 years ago
Mark Dickinson ce05717daa Merged revisions 72564 via svnmerge from 17 years ago
Mark Dickinson d1ec8b2bda Merged revisions 72564 via svnmerge from 17 years ago
Mark Dickinson b1d45856c2 Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. 17 years ago
Eric Smith a985a3aee4 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Eric Smith 63376228a3 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Mark Dickinson aa77d26009 Merged revisions 72253 via svnmerge from 17 years ago
Mark Dickinson 777e4ff503 Eliminate some locale-dependent calls to isspace and tolower. 17 years ago
Mark Dickinson 725bfd8489 Issue #5914: Add new C-API function PyOS_string_to_double, to complement 17 years ago
Mark Dickinson df108ca324 Remove format_float and use _PyOS_double_to_string instead. 17 years ago
Mark Dickinson 6d6b220215 Backport r71967 changes from py3k to trunk. 17 years ago