Otherwise, if you really, really, need it.
ezzetabi at hotmail.com
Sat Oct 18 13:10:40 CEST 2008
Just implement it yourself...
>I guess it was more from a convenience point of view since I was using
>mpz_t variables. I think I could just re-write my code to just store
>the exponent value as an unsigned long and would be fine so I wouldn't
>need an extra mpz_get_ui() call. The result of course would still
>need to be stored in mpz but not every variable.
Using the gmp C interface you should be able of implement the squaring method with easy.
News, entertainment and everything you care about at Live.com. Get it now!
More information about the gmp-discuss