<div id="comment:0"></div> 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`](https://github.com/sagemath/sagetrac-mirror/commit/a10c22238ee438795864646807e42a2c5a8a0a4f)** Reviewer: **David Roe** _Issue created by migration from https://trac.sagemath.org/ticket/7016_