47 "expecting rational value",
return -1);
62 "expecting rational value",
return -1);
72 size_t size,
const void *chunks)
80 mpz_import(v->
n,
n, -1,
size, 0, 0, chunks);
99 return (mpz_sizeinbase(v->n, 2) +
size - 1) /
size;
123 mpz_export(chunks, NULL, -1,
size, 0, 0, v->n);
125 memset(chunks, 0,
size);
#define isl_die(ctx, errno, msg, code)
#define isl_int_set(r, i)
#define isl_int_set_si(r, i)
__isl_give isl_val * isl_val_alloc(isl_ctx *ctx)
__isl_give isl_val * isl_val_normalize(__isl_take isl_val *v)
__isl_give isl_val * isl_val_from_gmp(isl_ctx *ctx, const mpz_t n, const mpz_t d)
__isl_give isl_val * isl_val_int_from_chunks(isl_ctx *ctx, size_t n, size_t size, const void *chunks)
isl_size isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size)
int isl_val_get_num_gmp(__isl_keep isl_val *v, mpz_t z)
__isl_give isl_val * isl_val_int_from_gmp(isl_ctx *ctx, mpz_t z)
isl_stat isl_val_get_abs_num_chunks(__isl_keep isl_val *v, size_t size, void *chunks)
int isl_val_get_den_gmp(__isl_keep isl_val *v, mpz_t z)
isl_ctx * isl_val_get_ctx(__isl_keep isl_val *val)
__isl_export isl_bool isl_val_is_zero(__isl_keep isl_val *v)
__isl_export isl_bool isl_val_is_rat(__isl_keep isl_val *v)