Low Zero Limbs

Kevin Ryde user42@zip.com.au
Wed, 25 Jun 2003 09:35:18 +1000


LingWitt@insightbb.com writes:
>
> I want to minimize the amount of unused memory. If a number needs more
> to accurately represent itself, then it should get more. If it doesn't
> need so much, it should deallocate it.

That's not how mpf_t works, it allocates a fixed amount of space
according to the requested precision.  See "Memory Management" in the
manual.

If you have a value that doesn't need many bits and you want to use
less memory, then set a lower precision.