FLINT3.7.0-dev

_gr_poly_test_approx_mulmid_pos_entrywise_accurate

Synopsis#include <flint/gr_poly.h>
void _gr_poly_test_approx_mulmid_pos_entrywise_accurate(gr_method_poly_binary_trunc2_op mulmid_impl, gr_method_poly_binary_trunc2_op mulmid_ref, gr_srcptr rel_tol, flint_rand_t state, slong iters, slong maxn, gr_ctx_t ctx)source

Tests the accuracy of a middle product implementation over an approximate (floating-point) ring: for polynomials with nonnegative coefficients, the relative error of every output coefficient compared with the reference implementation must not exceed rel_tol.

Cite this page

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