diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-02-01 22:13:03 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-02-01 22:13:03 +0100 |
commit | cb5bec65f769cce19968d7adf5e1c908736f6ff5 (patch) | |
tree | 82c52a79aedb95189275654ee9598faf1bb8aa49 /tune/set_strs.c | |
parent | 7d87c7b2fbaeeedd9287fddb39656e7b3d8d3489 (diff) | |
download | gmp-cb5bec65f769cce19968d7adf5e1c908736f6ff5.tar.gz |
* tune/set_strb.c, tune/set_strs.c: New files.
Diffstat (limited to 'tune/set_strs.c')
-rw-r--r-- | tune/set_strs.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tune/set_strs.c b/tune/set_strs.c new file mode 100644 index 000000000..1d15cf4ed --- /dev/null +++ b/tune/set_strs.c @@ -0,0 +1,31 @@ +/* mpn_set_str_subquad -- mpn_set_str forced to the sub-quadratic case. + +Copyright 2002 Free Software Foundation, Inc. + +This file is part of the GNU MP Library. + +The GNU MP Library is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at your +option) any later version. + +The GNU MP Library is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with the GNU MP Library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +MA 02111-1307, USA. */ + +#include "gmp.h" +#include "gmp-impl.h" + +/* Note this is designed only for SET_STR_BLOCK_SIZE==1. */ + +#undef SET_STR_THRESHOLD +#define SET_STR_THRESHOLD 2 /* never */ +#define __gmpn_set_str mpn_set_str_subquad + +#include "mpn/generic/set_str.c" |