bug-gmp
[Top][All Lists]
Advanced

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

bugs in mpn_mul function


From: 游俊德
Subject: bugs in mpn_mul function
Date: Thu, 9 Sep 2004 01:59:48 +0800

Version: 4.1.3
File: mpn/generic/mul.c
Function: mpn_mul

The last line of mpn_mul function is not correct  ->  return prodp[un + vn -
l];
un + vn - l is not the correct index of most significant limb of prodp
array.

You can multiply two number by mpn_mul and mpn_mul_basecase separately
and compare the return value of these two functions which are different.





reply via email to

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