@@ -273,6 +273,7 @@ cdef extern from "flint/fmpz.h":
273273 void fmpz_rfac_ui(fmpz_t r, const fmpz_t x, ulong n)
274274 void fmpz_rfac_uiui(fmpz_t r, ulong x, ulong n)
275275 void fmpz_primorial(fmpz_t res, ulong n)
276+ int fmpz_is_perfect_power(fmpz_t root, const fmpz_t f)
276277
277278cdef extern from " flint/fmpz_factor.h" :
278279 ctypedef struct fmpz_factor_struct:
@@ -285,6 +286,10 @@ cdef extern from "flint/fmpz_factor.h":
285286 void fmpz_factor_init(fmpz_factor_t factor)
286287 void fmpz_factor_clear(fmpz_factor_t factor)
287288 void fmpz_factor(fmpz_factor_t factor, fmpz_t n)
289+ int fmpz_factor_trial_range(fmpz_factor_t factor, const fmpz_t n, ulong start, ulong num_primes)
290+ void fmpz_factor_expand(fmpz_t n, const fmpz_factor_t factor)
291+ void _fmpz_factor_append(fmpz_factor_t factor, const fmpz_t p, ulong exp)
292+
288293
289294cdef extern from " flint/fmpz_poly.h" :
290295 ctypedef struct fmpz_poly_struct:
@@ -945,6 +950,7 @@ cdef extern from "arb.h":
945950 int arb_contains_si(const arb_t x, long y)
946951 int arb_overlaps(const arb_t x, const arb_t y)
947952 int arb_contains(const arb_t x, const arb_t y)
953+ int arb_contains_interior(const arb_t x, const arb_t y)
948954 void arb_get_interval_fmpz_2exp(fmpz_t a, fmpz_t b, fmpz_t exp, const arb_t x)
949955 int arb_get_unique_fmpz(fmpz_t z, const arb_t x)
950956 void arb_get_fmpz_mid_rad_10exp(fmpz_t mid, fmpz_t rad, fmpz_t exp, const arb_t x, long n)
@@ -1182,6 +1188,7 @@ cdef extern from "acb.h":
11821188 int acb_contains_fmpq(const acb_t x, const fmpq_t y)
11831189 int acb_contains_fmpz(const acb_t x, const fmpz_t y)
11841190 int acb_contains(const acb_t x, const acb_t y)
1191+ int acb_contains_interior(const acb_t x, const acb_t y)
11851192 int acb_get_unique_fmpz(fmpz_t z, const acb_t x)
11861193 int acb_contains_int(const acb_t x)
11871194 void acb_union(acb_t z, const acb_t x, const acb_t y, long prec)
0 commit comments