Thank you for the advice. I needed to rewrite some code and to create a function that substitutes all the variables I needed. I think that this issue must be described in documentation. Because for a newcomer it's not trivial to do all calculations symbolically and substitute variables when showing results. And it's still not good when some internal functions like simplifying produce results with lower precision than it was set before.
On May 13, 3:13 pm, Harald Schilly <[email protected]> wrote: > On Sunday, May 13, 2012 11:49:26 AM UTC+2, AleXoundOS wrote: > > > So is there any workaround for this issue? > > Your first line looks like a hack, i think that won't work or is the > problem. I suggest you to work with constants and substitute them later. > e.g. in the spirit of: > > sage: var('x a') > (x, a) > sage: y = a*x > sage: b = y.simplify_full() > sage: b.subs({a : 1.12345123451234512345123451234512345}) > 1.1234512345123451234512345123451235*x > > H -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
