On 13-Jul-08, at 12:17 PM, saucerful wrote:

>
> Some weird behavior in ComplexIntervalField:
>
>       


CIF(-1, 1) isn't what you think it is:

sage: CIF(-1, 1)
[-1.0000000000000000 .. -1.0000000000000000] + [1.0000000000000000 ..  
1.0000000000000000]*I

You meant:

sage: CIF(RIF(-1, 1))
[-1.0000000000000000 .. 1.0000000000000000]

Then

sage: CIF(0) != CIF(RIF(-1, 1))
True

As for whether this should be True -- I leave that to Carl (cwitty).   
I think it should be False.

Nick

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

Reply via email to