/* -*-c-*-
*
- * $Id: mpx-ksqr.c,v 1.7 2002/10/09 00:36:03 mdw Exp $
+ * $Id$
*
* Karatsuba-based squaring algorithm
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: mpx-ksqr.c,v $
- * Revision 1.7 2002/10/09 00:36:03 mdw
- * Fix bounds on workspace for Karatsuba operations.
- *
- * Revision 1.6 2000/10/08 15:48:35 mdw
- * Rename Karatsuba constants now that we have @gfx_kmul@ too.
- *
- * Revision 1.5 2000/10/08 12:11:01 mdw
- * Use @mpx_ueq@ instead of @MPX_UCMP@.
- *
- * Revision 1.4 2000/07/29 17:04:02 mdw
- * Remove useless header `mpscan.h'.
- *
- * Revision 1.3 2000/06/17 11:42:54 mdw
- * Moved the Karatsuba macros into a separate file for better sharing.
- * Fixed some comments. Use an improved technique so that all the
- * operations are squarings.
- *
- * Revision 1.2 1999/12/13 15:35:01 mdw
- * Simplify and improve.
- *
- * Revision 1.1 1999/12/11 10:57:43 mdw
- * Karatsuba squaring algorithm.
- *
- */
-
/*----- Header files ------------------------------------------------------*/
#include <assert.h>
ok = 0;
}
- free(a); free(c); free(d); free(s);
+ xfree(a); xfree(c); xfree(d); xfree(s);
return (ok);
}