Upgrade MPFR from 3.1.0 to 3.1.2 on the vendor branch
[dragonfly.git] / contrib / mpfr / src / generic / mparam.h
1 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
2
3 Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
4
5 This file is part of the GNU MPFR Library.
6
7 The GNU MPFR Library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11
12 The GNU MPFR Library is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
19 http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
20 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
21
22 #ifndef MPFR_MULHIGH_TAB
23 # define MPFR_MULHIGH_TAB -1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0
24 #endif
25
26 #ifndef MPFR_SQRHIGH_TAB
27 # define MPFR_SQRHIGH_TAB -1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0
28 #endif
29
30 #ifndef MPFR_DIVHIGH_TAB
31 # define MPFR_DIVHIGH_TAB 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
32 #endif
33
34 #ifndef MPFR_MUL_THRESHOLD
35 # define MPFR_MUL_THRESHOLD 20 /* limbs */
36 #endif
37
38 #ifndef MPFR_SQR_THRESHOLD
39 # define MPFR_SQR_THRESHOLD 20 /* limbs */
40 #endif
41
42 #ifndef MPFR_DIV_THRESHOLD
43 # define MPFR_DIV_THRESHOLD 25 /* limbs */
44 #endif
45
46 #ifndef MPFR_EXP_2_THRESHOLD
47 # define MPFR_EXP_2_THRESHOLD 100 /* bits */
48 #endif
49
50 #ifndef MPFR_EXP_THRESHOLD
51 # define MPFR_EXP_THRESHOLD 25000 /* bits */
52 #endif
53
54 #ifndef MPFR_SINCOS_THRESHOLD
55 # define MPFR_SINCOS_THRESHOLD 30000 /* bits */
56 #endif
57
58 #ifndef MPFR_AI_THRESHOLD1
59 # define MPFR_AI_THRESHOLD1 -13107 /* threshold for negative input of mpfr_ai */
60 #endif
61
62 #ifndef MPFR_AI_THRESHOLD2
63 # define MPFR_AI_THRESHOLD2 1311
64 #endif
65
66 #ifndef MPFR_AI_THRESHOLD3
67 # define MPFR_AI_THRESHOLD3 19661
68 #endif
69