FLINT3.7.0-dev

_nfixed_dot_2, _nfixed_dot_3, _nfixed_dot_4, _nfixed_dot_5, _nfixed_dot_6, _nfixed_dot_7, _nfixed_dot_8

Synopsis#include <flint/nfloat.h>
void _nfixed_dot_2(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_3(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_4(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_5(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_6(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_7(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source
void _nfixed_dot_8(nn_ptr res, nn_srcptr x, slong xstride, nn_srcptr y, slong ystride, slong len)source

Dot products of fixed-point vectors with 2 to 8 words, accumulating truncated high products in separate positive and negative sums. The strides are the offsets in words between consecutive entries and may be negative.

Cite this page

The FLINT team, “_nfixed_dot_2, _nfixed_dot_3, _nfixed_dot_4, _nfixed_dot_5, _nfixed_dot_6, _nfixed_dot_7, _nfixed_dot_8 (nfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nfloat/_nfixed_dot_2.html (generated 2026-10-20).