Badshah
Badshah

Reputation: 431

function with integer parameters

I have for example a function as follows:

int func(int a, int b, int c){...}

Now I want to use the GMP library. So how do I have to change the above code? Maybe something like:

int func(mpz_t a, mpz_t b, mpz_t c){...}

Upvotes: 0

Views: 129

Answers (1)

Akshay Patil
Akshay Patil

Reputation: 970

Take a look at different function types here , and check the sample code for writing a function in GMP library. I hope this answers you question :-

http://gmplib.org/manual/

and also check this link for low level functions:-

http://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions

Upvotes: 2

Related Questions