-
-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Milestone
Description
Example:
sage: pow(5,7,13).parent()
Ring of integers modulo 13
This contradicts the docstring ("Return (left ^ right) % modulus
."), and it doesn't happen for other parents:
sage: R.<x> = GF(59)[]
sage: pow(x,123,x^5-x+1).parent()
Univariate Polynomial Ring in x over Finite Field of size 59
Component: basic arithmetic
Author: Lorenz Panny
Branch/Commit: 299f265
Reviewer: Dave Morris
Issue created by migration from https://trac.sagemath.org/ticket/34143