FLINT3.7.0-dev

padic_swap

Synopsis#include <flint/padic.h>
void padic_swap(padic_t op1, padic_t op2)source

Swaps op1 and op2, including their precisions. This differs from an exchange through padic_set when the precisions differ.

Cite this page

The FLINT team, “padic_swap (padic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic/padic_swap.html (generated 2026-10-20).