summaryrefslogtreecommitdiff
path: root/src/generic/mparam.h
blob: 65097c75d5641f9dd5544a89f555f4a39eadccd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* Various Thresholds of MPFR, not exported.  -*- mode: C -*-

Copyright 2005-2019 Free Software Foundation, Inc.

This file is part of the GNU MPFR Library.

The GNU MPFR 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 3 of the License, or (at your
option) any later version.

The GNU MPFR 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 MPFR Library; see the file COPYING.LESSER.  If not, see
https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */

#ifndef MPFR_MULHIGH_TAB
# define MPFR_MULHIGH_TAB -1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0
#endif

#ifndef MPFR_SQRHIGH_TAB
# define MPFR_SQRHIGH_TAB -1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0
#endif

#ifndef MPFR_DIVHIGH_TAB
# define MPFR_DIVHIGH_TAB 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
#endif

#ifndef MPFR_MUL_THRESHOLD
# define MPFR_MUL_THRESHOLD 20 /* limbs */
#endif

#ifndef MPFR_SQR_THRESHOLD
# define MPFR_SQR_THRESHOLD 20 /* limbs */
#endif

#ifndef MPFR_DIV_THRESHOLD
# define MPFR_DIV_THRESHOLD 25 /* limbs */
#endif

#ifndef MPFR_EXP_2_THRESHOLD
# define MPFR_EXP_2_THRESHOLD 100 /* bits */
#endif

#ifndef MPFR_EXP_THRESHOLD
# define MPFR_EXP_THRESHOLD 25000 /* bits */
#endif

#ifndef MPFR_SINCOS_THRESHOLD
# define MPFR_SINCOS_THRESHOLD 30000 /* bits */
#endif

#ifndef MPFR_AI_THRESHOLD1
# define MPFR_AI_THRESHOLD1 -13107 /* threshold for negative input of mpfr_ai */
#endif

#ifndef MPFR_AI_THRESHOLD2
# define MPFR_AI_THRESHOLD2 1311
#endif

#ifndef MPFR_AI_THRESHOLD3
# define MPFR_AI_THRESHOLD3 19661
#endif