FLINT3.7.0-dev

mag_swap

Synopsis#include <flint/mag.h>
void mag_swap(mag_t x, mag_t y)source

Swaps x and y without copying.

Cite this page

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