>>> from decimal import Decimal >>> Decimal(10**2000).sqrt() Decimal('1.000000000000000000000000000E+1000')