dynamic alocation in GMP

Christopher Creutzig ccr at sciface.com
Fri Jan 18 17:10:58 CET 2008

Marius Neagoe wrote:
> Hi. I a new in GMP and already I have a problem. I need memory
> allocation and I do not know how to do that. I used
> "mp_set_memory_functions" but as I see ,in a wrong way. I looked in
> "gmp.h" but it didn't work. Could someone give me an example, please?

 Read chapter 14 of the documentation. (In my opinion, reading the
header files instead of the docs is a waste of time anyway.)

SciFace Software GmbH & Co. KG
    Technologiepark 11    Tel: ++49 (0)5251 1843000
    D-33100 Paderborn     Fax: ++49 (0)5251 1843010
    Deutschland           Web: www.sciface.com
Sitz der Gesellschaft: Paderborn
    Registergericht Paderborn HRA 2080
    Ust.-ID Nr.: DE 187992139
Persönlich haftende Gesellschaft:
    SciFace Software Verwaltungsgesellschaft mbH
    Registergericht Paderborn HRB 2924
    Geschäftsführer: Dr. Oliver Kluge

More information about the gmp-discuss mailing list