Why the nonsense number appears?
Ben O'Steen
bosteen at maysubdivide.org
Mon Oct 31 05:40:47 EST 2005
On Mon, October 31, 2005 10:23, Sybren Stuvel said:
> Ben O'Steen enlightened us with:
>> Using decimal as opposed to float sorts out this error as floats are
>> not built to handle the size of number used here.
>
> They can handle the size just fine. What they can't handle is 1/1000th
> precision when using numbers in the order of 1e10.
>
I used the word 'size' here incorrectly, I intended to mean 'length'
rather than numerical value. Sorry for the confusion :)
> Sybren
> --
> The problem with the world is stupidity. Not saying there should be a
> capital punishment for stupidity, but why don't we just take the
> safety labels off of everything and let the problem solve itself?
> Frank Zappa
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list