udiv_qrnnd
Synopsis
#include <flint/longlong.h>udiv_qrnnd(q, r, n1, n0, d)sourceSets and to the quotient and remainder of divided by , so that with . Requires , which ensures that ; otherwise the result is undefined, and on x86-64 the hardware division traps.
Guides#
Cite this page
The FLINT team, “udiv_qrnnd (longlong.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/longlong/udiv_qrnnd.html (generated 2026-11-02).
@misc{flint-doc-longlong-udiv-qrnnd,
author = {{The FLINT team}},
title = {{udiv\_qrnnd (longlong.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/longlong/udiv_qrnnd.html},
note = {Generated 2026-11-02}
}