<p class="MsoNormal"><span style="" lang="EN-GB">Hello
everybody, I'm in despaired stiuation: I'm programming a DSA algorithm </span><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;" lang="EN-GB">in C with GMP </span><span style="" lang="EN-GB">and I need
to calculate the inverse of an mpz_t without modulo. I've tried the mpz_invert
function, but this function as three parameters and the third one is the mod
(modulo).<br>Is there a
way of using this function with an infinite modulo, or there is any other way.<br>Please,
send me some ideas to solve this problem; I really need a solution to this. I
need to have the program working next Thursday and I don't know how to solve
this situation. <br></span></p><p class="MsoNormal"><span style="" lang="EN-GB">Thank you.<br></span>Luis Alexandre<br>(<a href="mailto:lm.alexandre@gmail.com">lm.alexandre@gmail.com</a>)</p>