128 or 96 bit integer types?
Peter Otten
__peter__ at web.de
Fri Jul 27 14:27:43 EDT 2007
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
10790283070806014188970L
What are you measuring? The age of the universe? In nanoseconds?
:-)
Peter
More information about the Python-list
mailing list