You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sage: 2^float(3.1)
---------------------------------------------------------------------------
<type 'exceptions.TypeError'> Traceback (most recent call last)
/Users/was/<ipython console> in <module>()
/Users/was/integer.pyx in sage.rings.integer.Integer.__pow__()
<type 'exceptions.TypeError'>: exponent (=3.1) must be an integer.
Coerce your numbers to real or complex numbers first.
Note:
sage: int(2)^float(3.1)
8.574187700290345
sage: (2/1)^float(3.1)
8.574187700290345
This is a bug:
Note that
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/1653
The text was updated successfully, but these errors were encountered: