FLINT3.7.0-dev

nfloat_mat_mul_fixed

Synopsis#include <flint/nfloat.h>
int nfloat_mat_mul_fixed(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, slong max_extra_prec, gr_ctx_t ctx)source

Sets C = AB by converting A and B to fixed-point matrices with common exponents and multiplying them with _nfixed_mat_mul. The fixed-point precision is the target precision plus the spread of the exponents in A and in B plus a few guard bits; returns GR_UNABLE if this exceeds the target by max_extra_prec bits or more, if a matrix has zero entries (but is not zero), or if infinities or NaN are enabled.

Cite this page

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