> Now I'm relieved ;-) Thanks.   BTW: I just learned that the new Python
> 3000 (py3k) will change this "ugly" float printing feature (repr(1.1)
> is then "1.1" not "1.1000...0002") -- finally!!!!
> -S.

Are they changing the feature or changing the underlying number?

Regarding the extra 0's I note that python reals and sympy reals are
not printed the same way. There is the str and repr form for python
reals but just one form for the sympy reals:

# python real
>>> p = 304.8
>>> print p; p
304.8
304.80000000000001

# sympy real
>>> r = Real(303.8)
>>> print r;r
303.800000000000
303.800000000000

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to