I don't know - looks like rounding errors, but it seems you are more
interested in symbolic calculations.
try:

z = I
z^2
and
z*z

also read I? and ComplexField?

h


On Jan 4, 3:51 pm, mb <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is the following a bug?
>
> sage: z=complex(0,1)
> sage: z
> 1j
> sage: z*z
> (-1+0j)
> sage: z^2
> (1+1.967934973691981e-310j)
>
> --mb
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to