in reply to Fixed precision numbers

What's the smallest monetary unit you do calculations with? Compile yourself a 64bit Perl, and you can deal with numbers ranging from -9223372036854775807 to 9223372036854775807, without rounding errors. Even if you keep count in ten thousandth of a cent, you could track amounts to over 9 trillion this way.

Abigail

Replies are listed 'Best First'.
Re: Re: Fixed precision numbers
by Anonymous Monk on Feb 26, 2003 at 13:04 UTC
    Ah, but even that is not sufficient to be able to record Bill Gate's desired net worth.