FLINT3.7.0-dev

vec1d_same, vec4d_same, vec8d_same

Synopsis#include <flint/machine_vectors.h>
int vec1d_same(double a, double b)source
int vec4d_same(vec4d a, vec4d b)source
int vec8d_same(vec8d a, vec8d b)source

Returns whether every lane of a compares equal to the same lane of b with == (so +0 = -0, and a NaN is never equal). vec1d_same is available on AVX2 and NEON, the others on AVX2 only.

Cite this page

The FLINT team, “vec1d_same, vec4d_same, vec8d_same (machine_vectors.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/machine_vectors/vec1d_same.html (generated 2026-10-20).