Internal Memory allocation?

Simon Hafner simon.hafner at iohk.io
Tue Jun 30 15:46:51 UTC 2020


Hello GMP

I'm interested in the internal memory allocation of a few mpn functions, namely

c_mpn_add, c_mpn_sub, c_mpn_mul, c_mpn_tdiv_qr, c_mpn_divrem_1, c_mpn_mod_1

Do any of these functions allocate additional memory which is not seen
by the structures passed in? According to a small grep, I can't see
any, but I'm not well-versed in asm/C.

Cheers,
Simon

-- 

Website: www.iohk.io


More information about the gmp-discuss mailing list