On Sep 12, 5:44 pm, Mitesh Patel <qed...@gmail.com> wrote: >[...] > This appears to work: > > sage: bool(e^(-pi/2) == i^i) > True
Thanks Mitesh. What is the sage convention for returning the object as a result of "==" instead of bool when the result is not False? Is it ad hoc? Would you consider float(i^i) raising TypeError a bug? Regards, Don -- 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