X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/22bab86c9df047bdd258283c6567821319ba7a6f..80be023065ced106a4078a36371c135a60d2bd6c:/mpmul.c diff --git a/mpmul.c b/mpmul.c index 4541aea..29f499a 100644 --- a/mpmul.c +++ b/mpmul.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpmul.c,v 1.3 2000/10/08 12:11:22 mdw Exp $ + * $Id: mpmul.c,v 1.5 2004/04/08 01:36:15 mdw Exp $ * * Multiply many small numbers together * @@ -27,20 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: mpmul.c,v $ - * Revision 1.3 2000/10/08 12:11:22 mdw - * Use @MP_EQ@ instead of @MP_CMP@. - * - * Revision 1.2 2000/07/09 21:31:10 mdw - * Fix bug, and add a test rig. - * - * Revision 1.1 2000/07/01 11:21:39 mdw - * New interface for computing products of many (small) integers. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "mp.h" @@ -148,8 +134,7 @@ mp *mp_factorial(unsigned long i) x = mp_fromulong(x, j); mpmul_add(&b, x); } - if (x) - mp_drop(x); + mp_drop(x); return (mpmul_done(&b)); }