|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
枚举 | |
| enum | { POOL = 512 } |
| enum | PrimePool { PRIME_POOL_ODD , PRIME_POOL_PRIME , PRIME_POOL_COPRIME } |
| Copyright (C) 2026 HJimmyK (Jericho Knox) 更多... | |
函数 | |
| static int | pool_cnt (mp_size_t n) |
| static mp_ptr | pool_n (mp_size_t n, int cnt, mp_limb_t seed, PrimePool kind) |
| static bool | small_factor_q (mp_srcptr x, mp_size_t n) |
| COPRIME 输入池的预筛 | |
| anonymous enum |
| enum PrimePool |
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
| 枚举值 | |
|---|---|
| PRIME_POOL_ODD | |
| PRIME_POOL_PRIME | |
| PRIME_POOL_COPRIME | |
在文件 prime_pool.h 第 41 行定义.
|
inlinestatic |
在文件 prime_pool.h 第 68 行定义.
引用了 lmmp_is_prime_n_(), lmmp_seed_random_(), n, PRIME_POOL_COPRIME, PRIME_POOL_PRIME , 以及 small_factor_q().
COPRIME 输入池的预筛
在文件 prime_pool.h 第 52 行定义.
引用了 lmmp_free(), lmmp_gcd_(), lmmp_primefac_(), lmmp_primefac_size_() , 以及 n.
被这些函数引用 pool_n().