There are different libraries for big floating numbers in python, most of them based on the gnu multiprecision library see bigfloat and gmpy and also clnum .
Gribouillis
Posting Maven
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
snippsat
Practically a Posting Shark
808 posts since Aug 2008
Reputation Points: 353
Solved Threads: 294
See decimal package:
>>> from decimal import *
>>> getcontext().prec = 100
>>> Decimal(1).exp()
Decimal('2.718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525166427')
>>> Decimal(1).exp()**34
Decimal('583461742527454.8814029027346103910190036592389411081057829421204316676742119505811471038583648840548')
>>>
It is missing trig functions however.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852