📅  最后修改于: 2022-03-11 14:46:05.882000             🧑  作者: Mango
from decimal import getcontext, Decimal
ctx=getcontext()
num=Decimal('1.1')
num**4 //Decimal('1.4641')
ctx.prec=4 //Set new precision
print(num**4)