[Python-ideas] Python Float Update

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Jun 4 00:23:17 CEST 2015


On 03/06/2015 23:18, u8y7541 The Awesome Person wrote:
>> I'm going to show a few examples of how Decimals violate the fundamental
>> laws of mathematics just as floats do.
>
> Decimal is also uses sign and mantissa, except it's Base 10. I think
> Decimal should use numerators and denominators, because they are more
> accurate. That's why even Decimal defies the laws of mathematics.
>
> -Surya Subbarao

Defying the laws of mathematics isn't a key issue here as practicality 
beats purity.  Try beating the laws of the BDFL and the core devs and 
it's the Comfy Chair, terribly sorry and all that.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list