Skip to content

Bizarre results when taking the mod of a p-adic number #7016

@jonhanke

Description

@jonhanke

The operation x % n for p-adic numbers is confusing. Added a note about it in the documentation of the 'residue' function.

CC: @williamstein @sagetrac-mabshoff @roed314

Component: padics

Keywords: mod, %

Author: Sandra Rozensztajn, Julian Rüth

Branch/Commit: a10c222

Reviewer: David Roe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions