Comment #23 on issue 1052 by williamhpurcell: 2.0 * x**2 should print more nicely http://code.google.com/p/sympy/issues/detail?id=1052
I think that fixing this might be as simple as what I suggested as a 'hack' in this post: http://groups.google.com/group/sympy/msg/b57666947c5e2a16. To test this I did the following: In [1]: from sympy import * In [2]: x = Number(2.0) In [3]: x Out[3]: 2.00000000000000 # Now I run the test to make sure it will pass before I make changes. will...@william-laptop:~/tmp$ python test_evalf.py # I then made the change I suggested above in the 'hack'. # Start another IPython session. In [1]: from sympy import * In [2]: x = Number(2.0) In [3]: x Out[3]: 2.0 # I then re-ran the test_evalf test. will...@william-laptop:~/tmp$ python test_evalf.py I'm not sure if I'm over looking something, but this seems like an easy enough fix and test_evalf seems to be happy with it. Any thoughts? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---
