Comment #2 on issue 2878 by ondrej.c...@gmail.com: numerical evaluation problem
http://code.google.com/p/sympy/issues/detail?id=2878
I see. I think I really do expect to get exactly "0.6" when I write it as such (using S("0.6"). Obviously, if I write it as 0.6, then Python makes it imprecise itself, that's clear.
I don't know how to technically do it, so that S("0.6") is exact. One way is to convert it to Rational in sympify. I don't mind using some other notation, like exact("0.6") and it would get converted to the exact number, represented by 0.6.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.