Hi Aaron,

In tried ;

import mpmath
x = Float("1.4142", 950)
x**6000%400 

But got the same sort of error message again ;

>>> x = Float("1.4142", 950)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Float' is not defined

Also, I thought I read recently that the float term is too small?
Some one said there are different kinds of floats ; 
float, float96, float128???  

I tried using "expr.doit()" but also got an error message?

expr.doit() will evaluate the expression, but it evaluates it using 
the prevision of x. For your x, that's 15, so you get the wrong answer 
32. If you set x = Float("1.4142", 950) you get the right answer. 


-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/e61fe6d6-5081-4704-9061-7716d3949fad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to