float equality

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 21 16:23:28 PST 2011


On 2/21/11 6:08 PM, bearophile wrote:
> Andrei Alexandrescu:
>
>> This is a long-standing myth. I worked on Wall Street and have friends
>> who have been doing it for years. Everybody uses double.
>
> Unbrutal Python programmers are encouraged to avoid the float type to manage money values, and use decimal instead:
> http://docs.python.org/library/decimal.html
>
> Bye,
> bearophile

... and nobody uses Python :o).

Andrei


More information about the Digitalmars-d mailing list