Skip to content

Correctly deal with modular exponentiation of polynomials when modulus is of degree <= 1 #15866

Closed
@jpflori

Description

@jpflori
sage: x = polygen(GF(5))
sage: x % 2
0
sage: x = polygen(GF(5))
sage: pow(x,100000000000,x)
Exception (FLINT memory_manager). Unable to allocate memory.

CC: @roed314 @jdemeyer @pjbruin @sagetrac-jakobkroeker

Component: algebra

Stopgaps: wrongAnswerMarker

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/15866

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions