d1_renorm, d2_renorm, d3_renorm, d4_renorm
Synopsis
#include <flint/dfloat.h>Sets res to the sum of the len doubles t_0, \ldots, t_{len-1}, rounded to N nonoverlapping components; the dropped part is discarded. The terms may be in any order, but for an accurate result they should be roughly sorted by decreasing magnitude. The array t is used as scratch space and overwritten; pass a copy if the terms are needed afterwards. res must not overlap t.
Cite this page
The FLINT team, “d1_renorm, d2_renorm, d3_renorm, d4_renorm (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/d1_renorm.html (generated 2026-10-20).
@misc{flint-doc-dfloat-d1-renorm,
author = {{The FLINT team}},
title = {{d1\_renorm, d2\_renorm, d3\_renorm, d4\_renorm (dfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dfloat/d1_renorm.html},
note = {Generated 2026-10-20}
}