Prothon vs. Python integers

Mark Hahn mark at prothon.org
Mon May 24 15:22:18 EDT 2004


"Heather Coppersmith" <me at privacy.net> wrote in message
news:m2k6z1ejcc.fsf at unique.phony.fqdn...

> > Longs seemed like a needless exotic kludge to me in the 64-bit
> > world. Surely once you get to 3.7e19 you are in floating point
> > territory. I can't imagine counting anything up to 10**19.
>
> Beans?  ;-)
>
> Accountants ("bean counters," in the derogatory vernacular) will
> be displeased if Prothon silently loses pennies (or other small-
> valued currencies) after a certain amount (lira and drachma spring
> to mind, too).

No economy is ever going to to have a gdp of 10**19 pennies.

> Also, modern day cryptography applications can demand integer/
> logical operations on 256-, 512-, or more- bit (upwards of 1e150)
> integers.

Are Python longs being used for those?  I guess even if they aren't someone
might want to evaluate algorithms using longs.

Ok, I'm wrong once again.  I'll put implementing longs on the to-do list.





More information about the Python-list mailing list