On 5 Sep., 14:13, Simon King <simon.k...@uni-jena.de> wrote: > Hi Dima, > > On 5 Sep., 13:12, Dima Pasechnik <dimp...@gmail.com> wrote: > > > x if n==1... > > Oops... > > > To be precise, I can propose that > > x^0 should be 1, (and not int(1)), then > > x^n := x*x^{n-1} for n>0, > > and then multiplication result will a Sage Integer. > > Right, that would be sound.
BU**SH**. Who would take the one-element from a different domain (or choose it to be of different type)? (I've made some comments on the ticket, also suggesting to put this on sage-devel, without noticing there had been already this thread. A back-reference from the ticket wouldn't have been bad.) The "funniest" thing is the current behaviour of int(3)^CC(-3) or even int(3)^CC(3) . -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