On Saturday, March 29, 2014 8:34:36 AM UTC+4, Richard Fateman wrote:
>
> Your problem is that the notions of +  and - in your computer programming 
> language
> are apparently inadequate.
>

In which one?  Python, CLisp?
 

> It is certainly possible to do this correctly by converting a,b,c
> into ratios of integers
>

Sure.  It's possible to convert a,b,c to rationals, but then it will be 
rational
arithmetic, not arithmetic for floats (IEEE 754).
 

> The fact that  +  gets different answers for adding numbers a,b    and for 
> adding a', b'   where
> a-a' and b=b'    can't be a good thing in a system that is supposed to do 
> mathematics.
>
 
There are still reasons for floats (Christophe point you to major one).  
But I admit, we shouldn't allow
using of Float's (or builtin float type) in symbolic mathematics.  An 
example: https://github.com/sympy/sympy/pull/2801

-- 
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/2a4b3706-875b-428a-b6b6-dc0b42f59617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to