[Python-checkins] r71701 - in python/branches/py3k: Lib/test/test_float.py Misc/NEWS Objects/floatobject.c

Mark Dickinson dickinsm at gmail.com
Sat Apr 18 15:36:42 CEST 2009


Thanks.  I should have expected this.

I'll fix it.

On Sat, Apr 18, 2009 at 2:07 PM, Hirokazu Yamamoto
<ocean-city at m2.ccsnet.ne.jp> wrote:
>
> mark.dickinson wrote:
>>
>> Author: mark.dickinson
>> Date: Sat Apr 18 13:48:33 2009
>> New Revision: 71701
>>
>> Log:
>> 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.
>
> I got linker error "round() cannot be resolved" on VC6(Windows). I cannot
> know whether this happens on VC9 or not because buildbot is down, but
> round() seems to be added C standard in C99. Shouldn't this function be
> checked by HAVE_ROUND? Thank you.
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>


More information about the Python-checkins mailing list