Real root isolation for fmpz_poly is a very frequently requested feature; the complex root-finding is often suboptimal for this.
We could simply copy the following functions from e-antic, perhaps renamed to avoid immediately breaking compatibility with e-antic:
https://flatsurf.github.io/e-antic/c_fmpz_poly_extra.html
I don't think the algorithm is the state of the art, but it should be fine as a starting point.
Real root isolation for
fmpz_polyis a very frequently requested feature; the complex root-finding is often suboptimal for this.We could simply copy the following functions from e-antic, perhaps renamed to avoid immediately breaking compatibility with e-antic:
https://flatsurf.github.io/e-antic/c_fmpz_poly_extra.html
I don't think the algorithm is the state of the art, but it should be fine as a starting point.