On 2/8/07, William Stein <[EMAIL PROTECTED]> wrote:

> I found it is as follows: (...)


Thanks for the pointers.


> The approximate real number library mpfr that SAGE builds on defines
> equality for approximate real numbers in SAGE.  If you look at
> the underlying binary representations of the above two numbers,
> you'll see that they really are NOT equal, due to rounding errors:
[snip]
> GP/PARI, another piece of math software (included as part of SAGE),
> also has this property:
[snip]
> So I'm not sure it's fair to say that "Sage does not handle
> equality of reals very well".

I apologize if it seemed that I was being negatively critical...  It
was not my intention.  I do realize that it would be hard to keep
track of all approximation errors.

Best,

Luis

--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to