FLINT3.7.0-dev

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).