linux/lib/mpi
Rasmus Villemoes b9f918a31d 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 <linux@rasmusvillemoes.dk>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
2015-01-14 16:10:12 +00:00
..
Makefile
generic_mpih-add1.c
generic_mpih-lshift.c
generic_mpih-mul1.c
generic_mpih-mul2.c
generic_mpih-mul3.c
generic_mpih-rshift.c
generic_mpih-sub1.c
longlong.h alpha: Modernize lib/mpi/longlong.h 2013-07-19 13:54:23 -07:00
mpi-bit.c
mpi-cmp.c MPILIB: Fix comparison of negative MPIs 2015-01-14 16:10:12 +00:00
mpi-inline.h
mpi-internal.h MPILIB: Fix obvious but harmless typo 2015-01-14 15:16:00 +00:00
mpi-pow.c
mpicoder.c
mpih-cmp.c
mpih-div.c
mpih-mul.c
mpiutil.c MPILIB: add module description and license 2013-09-25 17:17:01 +01:00