>
> Out of curiosity, I decided to ask sage what it thought the imaginary part 
> of infinity was.  I'm not quite sure that this should return 0.  
> Mathematica returns Indeterminate, which seems like a better answer to me.  
>
 
It is strange that infinity can apparently be converted into a complex 
number.  This is related to the following questionable behaviour:

sage: Infinity in RR
True

This arises because the internal representation of floating-point numbers 
allows (+/-)Infinity as special values.

On the other hand:

sage: Infinity in CC
False

sage: RR.is_subring(CC)
Traceback (most recent call last):
...
NotImplementedError

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to