vec1d_round, vec4d_round, vec8d_round
Synopsis
#include <flint/machine_vectors.h>Rounds to an integer in the current rounding mode: to the nearest integer, ties to even, by default. On NEON, vec4d_round and vec8d_round always round to nearest with ties to even. vec4d_round is available on all backends, the others on AVX2 and NEON.
Guides#
Cite this page
The FLINT team, “vec1d_round, vec4d_round, vec8d_round (machine_vectors.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/machine_vectors/vec1d_round.html (generated 2026-10-20).
@misc{flint-doc-machine-vectors-vec1d-round,
author = {{The FLINT team}},
title = {{vec1d\_round, vec4d\_round, vec8d\_round (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_round.html},
note = {Generated 2026-10-20}
}