vec1d, vec2d, vec4d, vec8d
Synopsis
#include <flint/machine_vectors.h>vec1dvec2dvec4dvec8dVectors of 1, 2, 4 and 8 doubles. vec1d is double. On AVX2, vec4d is __m256d and vec8d is a struct of two vec4d named e1 and e2; vec2d is __m128d but only has vec2d_floor. On NEON, vec2d is float64x2_t, vec4d is a struct of two vec2d and vec8d a struct of two vec4d. On the generic backends vec2d and vec4d are GNU vector types or structs with an array member v, and vec8d is a struct of two vec4d. Code that accesses lanes directly is not portable; use vec4d_get_index or a store.
Guides#
Cite this page
The FLINT team, “vec1d, vec2d, vec4d, vec8d (machine_vectors.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/machine_vectors/vec1d.html (generated 2026-10-20).
@misc{flint-doc-machine-vectors-vec1d,
author = {{The FLINT team}},
title = {{vec1d, vec2d, vec4d, vec8d (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.html},
note = {Generated 2026-10-20}
}