Am 29.03.2014 21:04, schrieb Richard Fateman:


On Saturday, March 29, 2014 1:47:11 AM UTC-7, Christophe Bal wrote:

[...] what you could do is take any "float"  and convert it
to an exactly equal numeric quantity that is a sympy rational.
And you could take that number and convert it to a float.
without loss.

There is a little  {problem?} with this approach. The float algorithm are
generally more efficient that the exact rational ones.

Take your choice.  Fast or correct.

That's a no-brainer.
SymPy doesn't do number crunching where numeric speed is of essence, it does symbolic math and correctness is far more important, so "correct" it is.

--
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 http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5337C1A5.6050103%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to