Precision of Number
Kevin Ryde
user42@zip.com.au
Sat, 21 Jun 2003 09:00:00 +1000
LingWitt@insightbb.com writes:
>
> This says that m has 65 limbs, which is of course unsatisfactory.
This is on the tasks list, see "mpf_set_str produces low zero limbs"
in doc/tasks.html. mpf_set_str has had a rewrite recently, not sure
if it's gotten better with that.
> How
> can I scale the size to the minimum number of limbs so as to avoid
> bloating? Thanks.
Look for low zero limbs in f->_mp_d and strip them by moving the rest
down and adjusting f->_mp_size accordingly. Note however you are not
guaranteed to be compatible with future releases if you tinker with
the internals like this.