128 or 96 bit integer types?
timr at probo.com
Sat Jul 28 07:30:00 CEST 2007
"mensanator at aol.com" <mensanator at aol.com> wrote:
>On Jul 27, 1:27 pm, Peter Otten <__pete... at web.de> wrote:
>> Robert Dailey wrote:
>> > Is there build-in or third party support for large integer types, such
>> > as 96 or 128 bits in size? I require such large sizes for precision
>> > issues (nanoseconds). Thanks.
>> >>> SECOND = 10**9
>> >>> YEAR = 365*24*60*60
>> >>> 2**128/SECOND/YEAR
>> What are you measuring? The age of the universe? In nanoseconds?
>Well, 2**96 would only be 2512308552583 years.
Yes, but that's still roughly 100 times the estimated age of the universe.
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list