Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MPILIB: Fix comparison of negative MPIs
If u and v both represent negative integers and their limb counts happen to differ, mpi_cmp will always return a positive value - this is obviously bogus. u is smaller than v if and only if it is larger in absolute value. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Dmitry Kasatkin <[email protected]>
- Loading branch information