d1_get_d, d2_get_d, d3_get_d, d4_get_d, d1b_get_d, d2b_get_d, d3b_get_d, d4b_get_d
Synopsis
#include <flint/dfloat.h>double d1_get_d(d1_srcptr x)double d2_get_d(d2_srcptr x)double d3_get_d(d3_srcptr x)double d4_get_d(d4_srcptr x)double d1b_get_d(d1b_srcptr x)double d2b_get_d(d2b_srcptr x)double d3b_get_d(d3b_srcptr x)double d4b_get_d(d4b_srcptr x)Return the head d_0 of the midpoint, the double nearest to it (up to ties); 0 for the whole real line.
Guides#
Cite this page
The FLINT team, “d1_get_d, d2_get_d, d3_get_d, d4_get_d, d1b_get_d, d2b_get_d, d3b_get_d, d4b_get_d (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/d1_get_d.html (generated 2026-10-20).
@misc{flint-doc-dfloat-d1-get-d,
author = {{The FLINT team}},
title = {{d1\_get\_d, d2\_get\_d, d3\_get\_d, d4\_get\_d, d1b\_get\_d, d2b\_get\_d, d3b\_get\_d, d4b\_get\_d (dfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dfloat/d1_get_d.html},
note = {Generated 2026-10-20}
}