DFLOAT_TWO_SUM, DFLOAT_FAST_TWO_SUM, DFLOAT_TWO_PROD
Synopsis
#include <flint/dfloat.h>DFLOAT_TWO_SUM(s, e, a, b)sourceDFLOAT_FAST_TWO_SUM(s, e, a, b)sourceDFLOAT_TWO_PROD(p, e, a, b)sourceError-free transformations: set and such that exactly with (Knuth's TwoSum, no precondition; Dekker's FastTwoSum, requiring or ), or exactly with (with fma; requires that neither overflows nor underflows, that is or ). See Error-free transformations.
Cite this page
The FLINT team, “DFLOAT_TWO_SUM, DFLOAT_FAST_TWO_SUM, DFLOAT_TWO_PROD (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/DFLOAT_TWO_SUM.html (generated 2026-11-02).
@misc{flint-doc-dfloat-DFLOAT-TWO-SUM,
author = {{The FLINT team}},
title = {{DFLOAT\_TWO\_SUM, DFLOAT\_FAST\_TWO\_SUM, DFLOAT\_TWO\_PROD (dfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/dfloat/DFLOAT_TWO_SUM.html},
note = {Generated 2026-11-02}
}