mpf_clear vs altered precision

Jim White mathimagics at yahoo.co.uk
Wed Dec 21 02:52:17 CET 2005


If I initialise an mpf item, and during a computation
I reduce its precision directly (by reducing the
mp_prec member), do I need to restore the original
mp_prec value before I clear it with mpf_clear?

Or does GMP itself keep track of the number of limbs
originally allocated?

Cheers

Jim White
ANU Canberra


More information about the gmp-discuss mailing list