LMMP 4.3.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
mparam.h 文件参考

浏览该文件的源代码.

宏定义

#define BINOMIAL_DIV_B_THRESHOLD   91
#define BINOMIAL_DIV_K_THRESHOLD   50
#define BINOMIAL_RN_BASECASE_THRESHOLD   32
#define BINVERT_UNBALANCE_MODM_CACHE_THRESHOLD   1460
#define BINVERT_UNBALANCE_MODM_THRESHOLD   32
#define CBRT_INVNEWTON_K_THRESHOLD   45
#define CBRT_INVNEWTON_NF_MIN   1845
#define CBRT_NEWTON_MODM_THRESHOLD   434
#define DIVEXACT_BASECASE_THRESHOLD   62
#define DIVEXACT_MERSENNE_CACHE_THRESHOLD   1540
#define DIVEXACT_MERSENNE_THRESHOLD   1540
#define DIVEXACT_NN_THRESHOLD   699
#define ELEM_MUL_BASECASE_THRESHOLD   32
#define FACTORS_MUL_N_THRESHOLD   30
#define GCD_HGCD_THRESHOLD   86
#define HGCD_MODMUL_CACHE_THRESHOLD   543
#define HGCD_MODMUL_THRESHOLD   64
#define MAT22_MUL_STRASSEN_THRESHOLD   24
#define MAT22_SQR_STRASSEN_THRESHOLD   24
#define MULHI_MERSENNE_THRESHOLD   1019
#define NCR_SHORT_LIMIT   (0xffff)
#define NPR_INT_LIMIT   (0xffffffff)
#define NPR_SHORT_LIMIT   (0xffff)
#define ODD_FACTORIAL_SIZE   25
#define PERMUTATION_UINT_B_THRESHOLD   268247
#define PERMUTATION_UINT_K_THRESHOLD   51
#define PERMUTATION_USHORT_B_THRESHOLD   21164
#define PERMUTATION_USHORT_K_THRESHOLD   22
#define POW_1_EXP_THRESHOLD   24
#define POW_WIN2_EXP_THRESHOLD   128
#define POW_WIN2_N_THRESHOLD   400
#define PRIME_CACHE_BLOCK_NUM   64
#define PRIME_CACHE_SIZE   1794
#define REDC_BASECASE_THRESHOLD   41
#define REDC_MERSENNE_CACHE_THRESHOLD   462
#define REDC_MERSENNE_THRESHOLD   40
#define SQRT_INVNEWTON_K_THRESHOLD   20
 Copyright (C) 2026 HJimmyK (Jericho Knox)
#define SQRT_NEWTON_MODM_THRESHOLD   434
#define TRIALDIV_K8_THRESHOLD   192
#define TRIALDIV_PREINV_THRESHOLD   12

宏定义说明

◆ BINOMIAL_DIV_B_THRESHOLD

#define BINOMIAL_DIV_B_THRESHOLD   91

在文件 mparam.h 第 59 行定义.

◆ BINOMIAL_DIV_K_THRESHOLD

#define BINOMIAL_DIV_K_THRESHOLD   50

在文件 mparam.h 第 58 行定义.

◆ BINOMIAL_RN_BASECASE_THRESHOLD

#define BINOMIAL_RN_BASECASE_THRESHOLD   32

在文件 mparam.h 第 54 行定义.

◆ BINVERT_UNBALANCE_MODM_CACHE_THRESHOLD

#define BINVERT_UNBALANCE_MODM_CACHE_THRESHOLD   1460

在文件 mparam.h 第 65 行定义.

◆ BINVERT_UNBALANCE_MODM_THRESHOLD

#define BINVERT_UNBALANCE_MODM_THRESHOLD   32

在文件 mparam.h 第 63 行定义.

◆ CBRT_INVNEWTON_K_THRESHOLD

#define CBRT_INVNEWTON_K_THRESHOLD   45

在文件 mparam.h 第 26 行定义.

◆ CBRT_INVNEWTON_NF_MIN

#define CBRT_INVNEWTON_NF_MIN   1845

在文件 mparam.h 第 28 行定义.

◆ CBRT_NEWTON_MODM_THRESHOLD

#define CBRT_NEWTON_MODM_THRESHOLD   434

在文件 mparam.h 第 35 行定义.

◆ DIVEXACT_BASECASE_THRESHOLD

#define DIVEXACT_BASECASE_THRESHOLD   62

在文件 mparam.h 第 75 行定义.

◆ DIVEXACT_MERSENNE_CACHE_THRESHOLD

#define DIVEXACT_MERSENNE_CACHE_THRESHOLD   1540

在文件 mparam.h 第 85 行定义.

◆ DIVEXACT_MERSENNE_THRESHOLD

#define DIVEXACT_MERSENNE_THRESHOLD   1540

在文件 mparam.h 第 83 行定义.

◆ DIVEXACT_NN_THRESHOLD

#define DIVEXACT_NN_THRESHOLD   699

在文件 mparam.h 第 77 行定义.

◆ ELEM_MUL_BASECASE_THRESHOLD

#define ELEM_MUL_BASECASE_THRESHOLD   32

在文件 mparam.h 第 61 行定义.

◆ FACTORS_MUL_N_THRESHOLD

#define FACTORS_MUL_N_THRESHOLD   30

在文件 mparam.h 第 47 行定义.

◆ GCD_HGCD_THRESHOLD

#define GCD_HGCD_THRESHOLD   86

在文件 mparam.h 第 73 行定义.

◆ HGCD_MODMUL_CACHE_THRESHOLD

#define HGCD_MODMUL_CACHE_THRESHOLD   543

在文件 mparam.h 第 79 行定义.

◆ HGCD_MODMUL_THRESHOLD

#define HGCD_MODMUL_THRESHOLD   64

在文件 mparam.h 第 81 行定义.

◆ MAT22_MUL_STRASSEN_THRESHOLD

#define MAT22_MUL_STRASSEN_THRESHOLD   24

在文件 mparam.h 第 37 行定义.

◆ MAT22_SQR_STRASSEN_THRESHOLD

#define MAT22_SQR_STRASSEN_THRESHOLD   24

在文件 mparam.h 第 39 行定义.

◆ MULHI_MERSENNE_THRESHOLD

#define MULHI_MERSENNE_THRESHOLD   1019

在文件 mparam.h 第 95 行定义.

◆ NCR_SHORT_LIMIT

#define NCR_SHORT_LIMIT   (0xffff)

在文件 mparam.h 第 93 行定义.

◆ NPR_INT_LIMIT

#define NPR_INT_LIMIT   (0xffffffff)

在文件 mparam.h 第 92 行定义.

◆ NPR_SHORT_LIMIT

#define NPR_SHORT_LIMIT   (0xffff)

在文件 mparam.h 第 91 行定义.

◆ ODD_FACTORIAL_SIZE

#define ODD_FACTORIAL_SIZE   25

在文件 mparam.h 第 90 行定义.

◆ PERMUTATION_UINT_B_THRESHOLD

#define PERMUTATION_UINT_B_THRESHOLD   268247

在文件 mparam.h 第 52 行定义.

◆ PERMUTATION_UINT_K_THRESHOLD

#define PERMUTATION_UINT_K_THRESHOLD   51

在文件 mparam.h 第 51 行定义.

◆ PERMUTATION_USHORT_B_THRESHOLD

#define PERMUTATION_USHORT_B_THRESHOLD   21164

在文件 mparam.h 第 50 行定义.

◆ PERMUTATION_USHORT_K_THRESHOLD

#define PERMUTATION_USHORT_K_THRESHOLD   22

在文件 mparam.h 第 49 行定义.

◆ POW_1_EXP_THRESHOLD

#define POW_1_EXP_THRESHOLD   24

在文件 mparam.h 第 41 行定义.

◆ POW_WIN2_EXP_THRESHOLD

#define POW_WIN2_EXP_THRESHOLD   128

在文件 mparam.h 第 43 行定义.

◆ POW_WIN2_N_THRESHOLD

#define POW_WIN2_N_THRESHOLD   400

在文件 mparam.h 第 45 行定义.

◆ PRIME_CACHE_BLOCK_NUM

#define PRIME_CACHE_BLOCK_NUM   64

在文件 mparam.h 第 98 行定义.

◆ PRIME_CACHE_SIZE

#define PRIME_CACHE_SIZE   1794

在文件 mparam.h 第 102 行定义.

◆ REDC_BASECASE_THRESHOLD

#define REDC_BASECASE_THRESHOLD   41

在文件 mparam.h 第 69 行定义.

◆ REDC_MERSENNE_CACHE_THRESHOLD

#define REDC_MERSENNE_CACHE_THRESHOLD   462

在文件 mparam.h 第 71 行定义.

◆ REDC_MERSENNE_THRESHOLD

#define REDC_MERSENNE_THRESHOLD   40

在文件 mparam.h 第 67 行定义.

◆ SQRT_INVNEWTON_K_THRESHOLD

#define SQRT_INVNEWTON_K_THRESHOLD   20

Copyright (C) 2026 HJimmyK (Jericho Knox)

This file is part of LMMP.

LMMP 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.

This 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 this library. If not, see https://www.gnu.org/licenses/.

SPDX-License-Identifier: LGPL-3.0-or-later

在文件 mparam.h 第 24 行定义.

◆ SQRT_NEWTON_MODM_THRESHOLD

#define SQRT_NEWTON_MODM_THRESHOLD   434

在文件 mparam.h 第 31 行定义.

◆ TRIALDIV_K8_THRESHOLD

#define TRIALDIV_K8_THRESHOLD   192

在文件 mparam.h 第 89 行定义.

◆ TRIALDIV_PREINV_THRESHOLD

#define TRIALDIV_PREINV_THRESHOLD   12

在文件 mparam.h 第 87 行定义.