[Python-ideas] [Python Ideas] Python Float Update

Andrew Barnert abarnert at yahoo.com
Thu Jun 4 00:35:34 CEST 2015


On Jun 3, 2015, at 15:17, u8y7541 The Awesome Person <surya.subbarao1 at gmail.com> 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.

So sqrt(2) should be represented as an exact fraction? Do you have infinite RAM?

> That's why even Decimal defies the laws of mathematics.


More information about the Python-ideas mailing list