Hi Michael,

> You are using CDF == Complex Double Field, so numerical noise is to be
> expected. IEEE arithmetic might be fast, but you pay for that speed
> with imprecise results. It might be possible to compile without
> optimization and get a "correct" result in that case, but that could
> change by using another gcc release.

OK, but if you write it this way it may be clearer what I mean:

sage: i^2
-1
sage: CDF(_)
-1.0 + 1.22460635382e-16*I

namely that the result of i^2 should be exact, if I want performance I
could write i^2.

Georg

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to