gr_get_interval_mid_rad
Synopsis
#include <flint/gr.h>Sets m and r to the midpoint and radius of x as exact elements of the ring, so that gr_set_interval_mid_rad with m and r reproduces x; radii of vector spaces are split as in the setter. The default, used by exact rings, sets m = x and r = 0.
Guides#
Cite this page
The FLINT team, “gr_get_interval_mid_rad (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_get_interval_mid_rad.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-get-interval-mid-rad,
author = {{The FLINT team}},
title = {{gr\_get\_interval\_mid\_rad (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_get_interval_mid_rad.html},
note = {Generated 2026-10-20}
}