I think problems caused by the log(10,2) ~ 3.32192 assumption occur in several places throughout Sage, and it's the source of at least one bug report (http://trac.sagemath.org/sage_trac/ticket/10164). The following all look suspicious to me:
misc/functional.py: prec = int((digits+1) * 3.32192) + 1 rings/complex_interval.pyx: bits = max(int(3.32192*len(s_real)),int(3.32192*len(s_imag))) rings/complex_number.pyx: bits = max(int(3.32192*len(s_real)),int(3.32192*len(s_imag))) rings/real_mpfi.pyx: bits = int(3.32192*len(s)) rings/real_mpfr.pyx: bits = int(3.32192*sigfigs)+1 symbolic/expression.pyx: prec = int((digits+1) * 3.32192) + 1 Doug -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org