FLINT3.7.0-dev

_fmpq_poly_normalise

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_normalise(fmpq_poly_t poly)source

Sets the length of poly so that the top coefficient is non-zero. If all coefficients are zero, the length is set to zero. Note that this function does not guarantee the coprimality of the numerator polynomial and the integer denominator.

Cite this page

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