On 30 Okt., 01:39, kcrisman <kcris...@gmail.com> wrote:
> I would say that your earlier example of 1/0 is a better example of
> inconsistency.  Also compare
>
> sage: 1./0
> +infinity
> sage: CC(1)/0
> NaN - NaN*I
>
> And why -, not +, NaN*I?  Since
>
> sage: CC(-1)/0
> NaN - NaN*I
> sage: CC(0)/CC(0)
> NaN - NaN*I
>
> Anyone who knows more about this is welcome to say more/correct,
> though!

Well, NaN is NaN. -NaN is also NaN, as is I*NaN and NaN+NaN, so this
doesn't really matter.

Although it would be better if there was a NaN (or bottom) element
also in the complex domain; one should at least /print/ NaN rather
than NaN +/- I*NaN.


-leif

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to