I see.  Yes I agree it should be false.  Consider:

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

RIF(0, 0) != RIF(-1, 1)
False

That these two comparisons should be different makes no sense, does
it?

Also why is it that CIF(0) seems to not have an interval, while CIF(1)
does?

On Jul 13, 4:35 pm, Nick Alexander <[EMAIL PROTECTED]> wrote:
> 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 [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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to