FLINT3.7.0-dev

vec4n_bit_shift_left, vec4n_bit_shift_right, vec8n_bit_shift_right

Synopsis#include <flint/machine_vectors.h>
vec4n vec4n_bit_shift_left(vec4n a, ulong b)source
vec4n vec4n_bit_shift_right(vec4n a, ulong b)source
vec8n vec8n_bit_shift_right(vec8n a, ulong b)source

Logical shifts of every lane by the same count 0 \le b < \mathtt{FLINT\_BITS}. vec8n_bit_shift_right is available on AVX2 only, the others on all backends.

Cite this page

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