commit | e6a076d86c51c9d72fee088dd229a7662ccc6c19 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 18 11:48:33 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 18 11:48:33 2009 +0000 |
tree | 86dc10e5fbdf54b653ef87d7a6a8ae4425345ce9 | |
parent | 60fd0999cce17ec8603edf4219f686c37a260d7b [diff] |
Issue #1869 (and 4707, 5118, 5473, 1456775): use the new 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.