From the Cobra language, comes the idea of using Decimal numbers as the default. It's 2008, so let's use decimals by default!
This is an error that python has... Add 0.1 together ten times, and you do not get 1.0.
>>> 1.0 == 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1
Maybe py3k should use Decimals by default instead? Or is this planned already?
Python float performance is really bad anyway, so we might as well make it a little more accurate right?
Floats are such a cause of errors in code, it'd be nice if math was more accurate by default :) It requires a fair bit of knowledge to understand all the quirks of floats, but less to understand the quirks of decimals.