add_err3_n.c (gmp-6.1.2) | : | add_err3_n.c (gmp-6.2.0.tar.xz) | ||
---|---|---|---|---|

skipping to change at line 37 | skipping to change at line 37 | |||

The GNU MP Library is distributed in the hope that it will be useful, but | The GNU MP Library is distributed in the hope that it will be useful, but | |||

WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |||

or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |||

for more details. | for more details. | |||

You should have received copies of the GNU General Public License and the | You should have received copies of the GNU General Public License and the | |||

GNU Lesser General Public License along with the GNU MP Library. If not, | GNU Lesser General Public License along with the GNU MP Library. If not, | |||

see https://www.gnu.org/licenses/. */ | see https://www.gnu.org/licenses/. */ | |||

#include "gmp.h" | ||||

#include "gmp-impl.h" | #include "gmp-impl.h" | |||

/* | /* | |||

Computes: | Computes: | |||

(1) {rp,n} := {up,n} + {vp,n} (just like mpn_add_n) with incoming carry cy, | (1) {rp,n} := {up,n} + {vp,n} (just like mpn_add_n) with incoming carry cy, | |||

return value is carry out. | return value is carry out. | |||

(2) Let c[i+1] = carry from i-th limb addition (c[0] = cy). | (2) Let c[i+1] = carry from i-th limb addition (c[0] = cy). | |||

Computes c[1]*yp1[n-1] + ... + c[n]*yp1[0], | Computes c[1]*yp1[n-1] + ... + c[n]*yp1[0], | |||

End of changes. 1 change blocks. | ||||

1 lines changed or deleted | | 0 lines changed or added |