projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f5f3508
)
Change Karatsuba parameters slightly.
author
mdw
<mdw>
Sat, 11 Dec 1999 01:51:28 +0000
(
01:51
+0000)
committer
mdw
<mdw>
Sat, 11 Dec 1999 01:51:28 +0000
(
01:51
+0000)
mpx.h
patch
|
blob
|
blame
|
history
diff --git
a/mpx.h
b/mpx.h
index
7d8a2cd
..
23c0b8d
100644
(file)
--- a/
mpx.h
+++ b/
mpx.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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
*
*
* Low level multiprecision arithmetic
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mpx.h,v $
/*----- 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.
*
* 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.
*/
* the larger argument.
*/
-#define KARATSUBA_CUTOFF
16
+#define KARATSUBA_CUTOFF
20
#define KARATSUBA_SLOP 32
extern void mpx_kmul(mpw */*dv*/, mpw */*dvl*/,
#define KARATSUBA_SLOP 32
extern void mpx_kmul(mpw */*dv*/, mpw */*dvl*/,