FLINT3.7.0-dev

_mp_real_small_divq_3

Synopsis#include <flint/mp_real.h>
void _mp_real_small_divq_3(ulong * w2, ulong * w1, ulong * w0, ulong n2, ulong n1, ulong n0, ulong d2, ulong d1, ulong d0)source

For three-limb fractions N < D with D normalised (top bit set), set w = \lfloor N B^3/D \rfloor by three 3-by-2 divisions in registers. 64-bit only.

Cite this page

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