Python -- floating point arithmetic

Chris Rebert clp2 at rebertia.com
Thu Jul 8 12:31:32 EDT 2010


On Thu, Jul 8, 2010 at 8:52 AM, Giacomo Boffi <giacomo.boffi at polimi.it> wrote:
> "Zooko O'Whielacronx" <zooko at zooko.com> writes:
>> I'm starting to think that one should use Decimals by default and
>> reserve floats for special cases.
>
> would you kindly lend me your Decimals ruler? i need to measure the
> sides of the triangle whose area i have to compute

If your ruler doesn't have a [second] set of marks for centimeters and
millimeters, that's really one cheap/cruddy ruler you're using.

Cheers,
Chris
--
Metrication!
http://blog.rebertia.com



More information about the Python-list mailing list