FLINT3.7.0-dev

mag_fast_init_set, mag_fast_zero, mag_fast_is_zero

Synopsis#include <flint/mag.h>
void mag_fast_init_set(mag_t x, const mag_t y)source
void mag_fast_zero(mag_t res)source
int mag_fast_is_zero(const mag_t x)source

Initialise x to a copy of y, set res to zero, and test whether x is zero.

Cite this page

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