Does anybody know if there is a precision difference when I use mpmath and
take an expression:

from mpmath import *
mp.dps = 100
mu0 = [mpf('4') * pi * power(10, -7)

rather then:

mu0 = fprod([mpf('4'), pi, power(10, -7)])

?

Thanks,
-- Bernd
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to