mp-modsqrt: Always return the smaller possible square root.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Feb 2006 18:26:33 +0000 (18:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 1 Feb 2006 18:26:33 +0000 (18:26 +0000)
commit222c8a436f09da82e2ee7c84c7aca47d11a2c843
tree38a7157a0572c16430cc685c79603e99cd417ae4
parent7c40480318648672af86e03bc72bc45c07194c37
mp-modsqrt: Always return the smaller possible square root.

This makes the function more predictable in its behaviour, and therefore
easier to test.
mp-modsqrt.c
mp.h
tests/mp