_unity_zp_mul_special, _unity_zp_sqr_special
Synopsis
#include <flint/aprcl.h>If a hand-optimised straight-line program exists for (currently 3, 4, 5, 7, 8, 9 and 16), the operands have full length and the modulus is small enough (a few thousand bits) that the smaller number of multiplications pays off, compute the reduced product (or square) using (at least SQUARING_SPACE values) as temporary space and return 1; otherwise return 0.
Cite this page
The FLINT team, “_unity_zp_mul_special, _unity_zp_sqr_special (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/_unity_zp_mul_special.html (generated 2026-11-02).
@misc{flint-doc-aprcl-unity-zp-mul-special,
author = {{The FLINT team}},
title = {{\_unity\_zp\_mul\_special, \_unity\_zp\_sqr\_special (aprcl.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/aprcl/_unity_zp_mul_special.html},
note = {Generated 2026-11-02}
}