#NEWLINE# def ei_asymptotic( x , prec ) : #NEWLINE# #INDENT# one = ( MPZ_ONE << prec ) #NEWLINE# x = t = ( ( one << prec ) // x ) #NEWLINE# s = ( one + x ) #NEWLINE# k = 2 #NEWLINE# while t : #NEWLINE# #INDENT# t = ( ( ( k * t ) * x ) >> prec ) #NEWLINE# s += t #NEWLINE# k += 1 #NEWLINE# #UNINDENT# return s