FLINT3.7.0-dev

_di_below, _di_above

Synopsis#include <flint/double_interval.h>
double _di_below(double x)source
double _di_above(double x)source

Return a lower respectively upper bound for any real number whose round-to-nearest value is xx. _di_below returns x−(∣x∣+10−300)⋅2−51x - (|x| + 10^{-300}) \cdot 2^{-51} for x≤10300x \le 10^{300} (rounded to nearest), 1030010^{300} for larger xx including +∞+\infty, and −∞-\infty for NaN (which arises from ∞−∞\infty - \infty in the endpoint arithmetic); _di_above is symmetric.

Cite this page

The FLINT team, “_di_below, _di_above (double_interval.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/double_interval/_di_below.html (generated 2026-11-02).