- 18 Apr, 2009 12 commits
-
-
Benjamin Peterson authored
-
Mark Dickinson authored
........ r71715 | mark.dickinson | 2009-04-18 15:59:42 +0100 (Sat, 18 Apr 2009) | 2 lines Issue #1869: Fix a couple of minor round() issues. ........
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Mark Dickinson authored
........ r71710 | mark.dickinson | 2009-04-18 15:41:37 +0100 (Sat, 18 Apr 2009) | 2 lines Backport r71704 (add configure check for C99 round function) to trunk. ........
-
Mark Dickinson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines copysign shouldn't be declared as static in pymath.c ........
-
Mark Dickinson authored
a fallback function if round doesn't exist.
-
Hirokazu Yamamoto authored
-
Mark Dickinson authored
string <-> float conversion routines to make round(x, n) correctly rounded for floats x, so that it always agrees with format(x, '.<n>f'). Also fix some other round nuisances, like round(123.456, 1-2**31) giving an integer rather than a float.
-
Mark Dickinson authored
we can't figure out how to get and set the x87 control word.
-
Mark Dickinson authored
Make it so.
-
Eric Smith authored
-
- 17 Apr, 2009 13 commits
-
-
Mark Dickinson authored
-
Mark Dickinson authored
separate FormatTestCase classes have been combined, and test_short_repr has been moved from FormatTestCase to the existing ReprTestCase.
-
Raymond Hettinger authored
-
Mark Dickinson authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Mark Dickinson authored
Fix a bug in the memory management in dtoa.c.
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line DistutilsSetupError was not raised when one single warning occured ........
-
Eric Smith authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Mark Dickinson authored
digits of precision for floats.
-
Raymond Hettinger authored
-
- 16 Apr, 2009 7 commits
-
-
Eric Smith authored
-
Eric Smith authored
-
Eric Smith authored
Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats.
-
Mark Dickinson authored
- incorporate and adapt David Gay's dtoa and strtod into the Python core - on platforms where we can use Gay's code (almost all!), repr(float) is based on the shortest sequence of decimal digits that rounds correctly. - add sys.float_repr_style attribute to indicate whether we're using Gay's code or not - add autoconf magic to detect and enable SSE2 instructions on x86/gcc - slight change to repr and str: repr switches to exponential notation at 1e16 instead of 1e17, str switches at 1e11 instead of 1e12
-
Thomas Heller authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line Remove unneeded code. ........ r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines Remove duplicated function declaration. Make _pagesize static. ........
-
R. David Murray authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines Less red ink (warning->note) and add link to def of side-by-side assembly. ........
-
Collin Winter authored
-
- 15 Apr, 2009 3 commits
-
-
R. David Murray authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines Fix for issue3440: add warning to subprocess discussion of env parameter that on Windows SystemRoot is required in order to run side-by-side assemblies. ........
-
Benjamin Peterson authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines call __float__ on str subclasses #5759 tests by R. David Murray ........
-
Benjamin Peterson authored
-
- 14 Apr, 2009 4 commits
-
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 13 Apr, 2009 1 commit
-
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line pep8-fied ........
-