vec1d_same_mod, vec4d_same_mod
Synopsis
#include <flint/machine_vectors.h>Returns whether a_i \equiv b_i \pmod n in every lane, by comparing the results of reduce_to_0n, with the same conditions. vec1d_same_mod is available on AVX2 and NEON, vec4d_same_mod on AVX2 only.
Cite this page
The FLINT team, “vec1d_same_mod, vec4d_same_mod (machine_vectors.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/machine_vectors/vec1d_same_mod.html (generated 2026-10-20).
@misc{flint-doc-machine-vectors-vec1d-same-mod,
author = {{The FLINT team}},
title = {{vec1d\_same\_mod, vec4d\_same\_mod (machine\_vectors.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/machine_vectors/vec1d_same_mod.html},
note = {Generated 2026-10-20}
}