 Python has extensive built @-@ in support for arbitrary precision arithmetic . Integers are transparently switched from the machine @-@ supported maximum fixed @-@ precision ( usually 32 or 64 bits ) , belonging to the python type int , to arbitrary precision , belonging to the python type long , where needed . The latter have an " L " suffix in their textual representation . The Decimal type / class in module decimal ( since version 2 @.@ 4 ) provides decimal floating point numbers to arbitrary precision and several rounding modes . The Fraction type in module fractions ( since version 2 @.@ 6 ) provides arbitrary precision for rational numbers . 
