These are chat archives for symengine/symengine
@certik, I started on the wrapper for flint. One problem I faced is that flint assumes a canonical form for the integers. If an integer is stored in a mpz_t, then it is bigger than the numbers stored directly.
So, if we use gmp api to calculate values, then the value has to be demoted as well. I can add demote calls after each gmp api call, or what we can do is wrap all the gmp routines that we use. I think the 2nd approach is better. what do you think?