FLINT3.7.0-dev

di_fast_add, di_fast_sub, di_fast_mul, di_fast_div

Synopsis#include <flint/double_interval.h>
di_t di_fast_add(di_t x, di_t y)source
di_t di_fast_sub(di_t x, di_t y)source
di_t di_fast_mul(di_t x, di_t y)source
di_t di_fast_div(di_t x, di_t y)source

Return an enclosure of the sum, difference, product or quotient of x and y. The product and quotient select the endpoint products by the signs of the operands; a product of the form 0 \cdot \infty gives [-\infty, +\infty], and so does division by an interval containing zero.

Cite this page

The FLINT team, “di_fast_add, di_fast_sub, di_fast_mul, di_fast_div (double_interval.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/double_interval/di_fast_add.html (generated 2026-10-20).