Hi, regarding the below, is it possible to increase precision for this past
(15) ? Im a little bit confused.... are you saying that a float set to the
default
precision will not return the accurate result but specifying the precision
will?
Also you mentioned a non float expression will return the correct value, but
when I try ; x = nsimplify("1.4142"), evalf()
It returns only an error message?
> I'm unclear how this works, because if you take my example above with
> x = nsimplify("1.4142"), evalf() gave the right answer with the
> default precision (15). That is, when everything in the expression is
> a non-float, it gives the right answer. However, it seems that as soon
> as an expression contains a Float, that Float must have whatever
> precision you need set on it.
>
> My knowledge of how this works internally is rather limited. Most of
> what I know is based on my observations on how things work. I've CC'd
> Fredrik Johansson. Hopefully he can give better insight into how
> things should be working here.
>
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
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/1dbb34cf-4ec2-4e41-ad26-df085f3f19e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.