guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forwarded patch for modular exponentiation support (GMP powm)


From: Kevin Ryde
Subject: Re: Forwarded patch for modular exponentiation support (GMP powm)
Date: Thu, 25 Mar 2004 10:02:13 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Eric Hanchrow <address@hidden> writes:
>
> Here's the latest & greatest

It just occurred to me to wonder if negative divisors should give a
negative remainder, the same way the plain `modulo' does.

mpz_powm ignores the sign of the divisor and always gives back a
positive remainder.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]