Can someone explain this apparently inconsistent result? ---------------------------------------------------------------------- | Sage Version 3.4, Release Date: 2009-03-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: a=-2.0^(1/3);a -1.25992104989487 sage: parent(a) Real Field with 53 bits of precision sage: b=-2.0;b -2.00000000000000 sage: parent(b) Real Field with 53 bits of precision sage: c=b^(1/3);c 0.629960524947437 + 1.09112363597172*I sage: parent(c) Complex Field with 53 bits of precision sage:
Why are the values of 'a' and 'c' different? Shouldn't Sage return the same root in both cases? Why is 'c' complex while 'a' is real? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---