def mpf2float(x):
 return float(mpmath.nstr(x, 17, min_fixed=0, max_fixed=0))

def mpf2float ( x ) : return float ( mpmath . nstr ( x , 17 , min_fixed = 0 , max_fixed = 0 ) )
convert an mpf to the nearest floating point number .