This is slightly annoying and unexpected: sage: 2^(1.5) 2.82842712474619 sage: int(2)^(1.5) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/drake/research/motzkin_plateau/<ipython console> in <module>() TypeError: unsupported operand type(s) for ** or pow(): 'int' and 'sage.rings.real_mpfr.RealLiteral'
This surprised me when I had something like this: [n^(1.5) for n in range(5)] It's trivial to work around this, with ZZ(n) or with [0..4] or whatever, but it was unexpected. Is this a bug? Does it deserve a trac ticket, or a smarter user? Thanks, Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature