_fmpz_smod
Synopsis
#include <flint/fmpz.h>Sets to modulo in a range selected by sign: for sign the remainder of truncating division (, sign of ), for 0 that of floor division (, sign of ), and for sign the symmetric remainder . The scratch variable must not alias any other argument.
Cite this page
The FLINT team, “_fmpz_smod (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/_fmpz_smod.html (generated 2026-11-02).
@misc{flint-doc-fmpz-fmpz-smod,
author = {{The FLINT team}},
title = {{\_fmpz\_smod (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/_fmpz_smod.html},
note = {Generated 2026-11-02}
}