From: mdw Date: Sat, 11 Dec 1999 01:51:28 +0000 (+0000) Subject: Change Karatsuba parameters slightly. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/652a6acf17ce5c9e4e522253b7bdee163474bd84 Change Karatsuba parameters slightly. --- diff --git a/mpx.h b/mpx.h index 7d8a2cd..23c0b8d 100644 --- a/mpx.h +++ b/mpx.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpx.h,v 1.6 1999/12/10 23:23:51 mdw Exp $ + * $Id: mpx.h,v 1.7 1999/12/11 01:51:28 mdw Exp $ * * Low level multiprecision arithmetic * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: mpx.h,v $ + * Revision 1.7 1999/12/11 01:51:28 mdw + * Change Karatsuba parameters slightly. + * * Revision 1.6 1999/12/10 23:23:51 mdw * Karatsuba-Ofman multiplication algorithm. * @@ -530,7 +533,7 @@ extern void mpx_usqr(mpw */*dv*/, mpw */*dvl*/, * the larger argument. */ -#define KARATSUBA_CUTOFF 16 +#define KARATSUBA_CUTOFF 20 #define KARATSUBA_SLOP 32 extern void mpx_kmul(mpw */*dv*/, mpw */*dvl*/,