3 size_t size,
int endian,
size_t nails,
char *mpzstr) {
6 mpz_set_str(
op, mpzstr, 10);
9 *out = mpz_export(rop, countp, order,
size, endian, nails,
op);
13 size_t size,
int endian,
size_t nails,
char *mpzstr) {
18 mpz_set_str(
op, mpzstr, 10);
23 data = mpz_export(NULL, &
count, order,
size, endian, nails,
op);
24 mpz_import(rop,
count, order,
size, endian, nails, data);
25 int eq = mpz_cmpabs(
op, rop);
26 sprintf(out,
"%2d:", eq);
27 mpz_get_str(out + 3, 10, rop);
void test_mpz_export(char **out, char *rop, size_t *countp, int order, size_t size, int endian, size_t nails, char *mpzstr)
void test_mpz_import(char *out, void *unused, size_t count, int order, size_t size, int endian, size_t nails, char *mpzstr)
static int count(int *con, unsigned len, int status)
__isl_give isl_val *(* op)(__isl_take isl_val *v)