d1_set_d, d2_set_d, d3_set_d, d4_set_d, d1b_set_d, d2b_set_d, d3b_set_d, d4b_set_d
Synopsis
#include <flint/dfloat.h>void d1_set_d(d1_t res, double x)void d2_set_d(d2_t res, double x)void d3_set_d(d3_t res, double x)void d4_set_d(d4_t res, double x)void d1b_set_d(d1b_t res, double x)void d2b_set_d(d2b_t res, double x)void d3b_set_d(d3b_t res, double x)void d4b_set_d(d4b_t res, double x)Sets res to the double x, exactly. In the ball version a nonfinite x gives the whole real line.
Guides#
Cite this page
The FLINT team, “d1_set_d, d2_set_d, d3_set_d, d4_set_d, d1b_set_d, d2b_set_d, d3b_set_d, d4b_set_d (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/d1_set_d.html (generated 2026-10-20).
@misc{flint-doc-dfloat-d1-set-d,
author = {{The FLINT team}},
title = {{d1\_set\_d, d2\_set\_d, d3\_set\_d, d4\_set\_d, d1b\_set\_d, d2b\_set\_d, d3b\_set\_d, d4b\_set\_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_set_d.html},
note = {Generated 2026-10-20}
}