FLINT3.7.0-dev

fmpz_swap

Synopsis#include <flint/fmpz.h>
void fmpz_swap(fmpz_t f, fmpz_t g)source

Swaps f and g by exchanging the two words; no limbs are copied.

Guides#

Cite this page

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