FLINT3.7.0-dev

MAG_BITS, MAG_EXP, MAG_EXPREF, MAG_MAN

Synopsis#include <flint/mag.h>
MAG_BITSsource
MAG_EXP(x)source
MAG_EXPREF(x)source
MAG_MAN(x)source

MAG_BITS is the number of mantissa bits, 30. MAG_EXP(x) and MAG_MAN(x) access the exponent (as an fmpz value) and the mantissa of x, and MAG_EXPREF(x) is a pointer to the exponent, for use with fmpz functions.

Cite this page

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