mpint: Fix misbehaviour on larger-than-mpw integer types.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 4 Apr 2006 16:20:05 +0000 (17:20 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jan 2007 22:20:06 +0000 (22:20 +0000)
commit3485fc41bcb8b082815b7d5e48a080c1fcfbab38
tree56ed4fa15746fece6ad9ac2bd7ca57bbb66a0ce5
parentc29970a7717261e63ffaabb3c67381f13c5dbca5
mpint: Fix misbehaviour on larger-than-mpw integer types.

The old implementation of MP_FROMINT was grievously broken, it turns
out.  Handle positive and negative numbers separately.
mpint.h
tests/mpint