mag_struct, mag_t, mag_ptr, mag_srcptr
Synopsis
#include <flint/mag.h>mag_structmag_tmag_ptrmag_srcptrA mag_struct has two fields, an fmpz exponent exp and a ulong mantissa man. A finite nonzero value is with , that is, a number in . Zero is stored as , , and as with a nonzero exponent. There is no NaN. A mag_t is an array of one mag_struct, so that it is passed by reference; mag_ptr and mag_srcptr point to arrays of mag_struct.
Guides#
Cite this page
The FLINT team, “mag_struct, mag_t, mag_ptr, mag_srcptr (mag.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mag/mag_struct.html (generated 2026-11-02).
@misc{flint-doc-mag-mag-struct,
author = {{The FLINT team}},
title = {{mag\_struct, mag\_t, mag\_ptr, mag\_srcptr (mag.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mag/mag_struct.html},
note = {Generated 2026-11-02}
}