(root)/
mpfr-4.2.1/
src/
generic/
mparam.h
       1  /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
       2  
       3  Copyright 2005-2023 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  https://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  /* the value of divhigh_ktab[n] should be 0 or < n-1 */
      32  # define MPFR_DIVHIGH_TAB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
      33  #endif
      34  
      35  #ifndef MPFR_MUL_THRESHOLD
      36  # define MPFR_MUL_THRESHOLD 20 /* limbs */
      37  #endif
      38  
      39  #ifndef MPFR_SQR_THRESHOLD
      40  # define MPFR_SQR_THRESHOLD 20 /* limbs */
      41  #endif
      42  
      43  #ifndef MPFR_DIV_THRESHOLD
      44  # define MPFR_DIV_THRESHOLD 25 /* limbs */
      45  #endif
      46  
      47  #ifndef MPFR_EXP_2_THRESHOLD
      48  # define MPFR_EXP_2_THRESHOLD 100 /* bits */
      49  #endif
      50  
      51  #ifndef MPFR_EXP_THRESHOLD
      52  # define MPFR_EXP_THRESHOLD 25000 /* bits */
      53  #endif
      54  
      55  #ifndef MPFR_SINCOS_THRESHOLD
      56  # define MPFR_SINCOS_THRESHOLD 30000 /* bits */
      57  #endif
      58  
      59  #ifndef MPFR_AI_THRESHOLD1
      60  # define MPFR_AI_THRESHOLD1 -13107 /* threshold for negative input of mpfr_ai */
      61  #endif
      62  
      63  #ifndef MPFR_AI_THRESHOLD2
      64  # define MPFR_AI_THRESHOLD2 1311
      65  #endif
      66  
      67  #ifndef MPFR_AI_THRESHOLD3
      68  # define MPFR_AI_THRESHOLD3 19661
      69  #endif
      70