diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-22 10:38:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-22 10:38:02 (GMT) |
commit | 03475f06485c403570643f9b359d100d9a6f9ced (patch) | |
tree | a6c73d8e59bf06c49ebbc3b9c7905cf56a0bccac /libtommath/bncore.c | |
parent | 9943a8a5796e398895d09e2d34c163704f90a8c3 (diff) | |
parent | 13e26826469250ca5f7887974c3ac716567cdf6d (diff) | |
download | tcl-03475f06485c403570643f9b359d100d9a6f9ced.zip tcl-03475f06485c403570643f9b359d100d9a6f9ced.tar.gz tcl-03475f06485c403570643f9b359d100d9a6f9ced.tar.bz2 |
Update to latest libtommath, version 1.2.0
Diffstat (limited to 'libtommath/bncore.c')
-rw-r--r-- | libtommath/bncore.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libtommath/bncore.c b/libtommath/bncore.c deleted file mode 100644 index c97b8e1..0000000 --- a/libtommath/bncore.c +++ /dev/null @@ -1,33 +0,0 @@ -#include "tommath_private.h" -#ifdef BNCORE_C -/* LibTomMath, multiple-precision integer library -- Tom St Denis - * - * LibTomMath is a library that provides multiple-precision - * integer arithmetic as well as number theoretic functionality. - * - * The library was designed directly after the MPI library by - * Michael Fromberger but has been written from scratch with - * additional optimizations in place. - * - * SPDX-License-Identifier: Unlicense - */ - -/* Known optimal configurations - - CPU /Compiler /MUL CUTOFF/SQR CUTOFF -------------------------------------------------------------- - Intel P4 Northwood /GCC v3.4.1 / 88/ 128/LTM 0.32 ;-) - AMD Athlon64 /GCC v3.4.4 / 80/ 120/LTM 0.35 - -*/ - -int KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsuba multiplication is used. */ - KARATSUBA_SQR_CUTOFF = 120, /* Min. number of digits before Karatsuba squaring is used. */ - - TOOM_MUL_CUTOFF = 350, /* no optimal values of these are known yet so set em high */ - TOOM_SQR_CUTOFF = 400; -#endif - -/* ref: $Format:%D$ */ -/* git commit: $Format:%H$ */ -/* commit time: $Format:%ai$ */ |