|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
函数 | |
| TEST_CASE ("numth/prime", is_prime_n_constructive_spsp) | |
| TEST_CASE ("numth/prime", is_prime_n_deterministic_reject) | |
| TEST_CASE ("numth/prime", is_prime_n_notrial_agree) | |
| TEST_CASE ("numth/prime", is_prime_n_product_composites) | |
| TEST_CASE ("numth/prime", is_prime_n_proven_primes) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("numth/prime", is_prime_n_v2_boundary) | |
| TEST_CASE ("numth/prime", is_strong_lucas_n) | |
| void | test_prime_n (void) |
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_constructive_spsp | ) |
在文件 test_prime_n.c 第 245 行定义.
引用了 ARRAY_SIZE, k, k2t_limbs(), lmmp_is_prime_n_(), lmmp_is_prime_ulong_(), lmmp_is_prime_ulong_notrial_(), MC_EXP, mersenne_limbs(), n, s, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_deterministic_reject | ) |
在文件 test_prime_n.c 第 123 行定义.
引用了 ARRAY_SIZE, limbs_norm(), lmmp_copy, lmmp_dec, lmmp_is_prime_n_(), lmmp_mul_(), lmmp_sqr_, mersenne_limbs(), s, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_notrial_agree | ) |
在文件 test_prime_n.c 第 70 行定义.
引用了 ARRAY_SIZE, limbs_norm(), lmmp_copy, lmmp_dec, lmmp_free(), lmmp_is_prime_n_(), lmmp_is_prime_n_notrial_(), lmmp_mul_(), mersenne_limbs(), n, s, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_product_composites | ) |
在文件 test_prime_n.c 第 305 行定义.
引用了 an, ARRAY_SIZE, bn, limbs_norm(), lmmp_is_prime_n_(), lmmp_mul_(), mersenne_limbs(), random_u64_prime(), s, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_proven_primes | ) |
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
在文件 test_prime_n.c 第 48 行定义.
引用了 ARRAY_SIZE, lmmp_is_prime_n_(), mersenne_limbs(), MP_EXP, MP_FOLD_EXP, s, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_n_v2_boundary | ) |
在文件 test_prime_n.c 第 350 行定义.
引用了 ARRAY_SIZE, k2t_limbs(), lmmp_is_prime_n_(), n, proth_certified(), s, t, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_strong_lucas_n | ) |
在文件 test_prime_n.c 第 186 行定义.
引用了 ARRAY_SIZE, k2t_limbs(), limbs_norm(), lmmp_is_strong_lucas_(), lmmp_mul_(), lmmp_sqr_, mersenne_limbs(), MP_EXP, TEST_CASE , 以及 TEST_CHECK_MSG.
| void test_prime_n | ( | void | ) |
在文件 test_prime_n.c 第 367 行定义.
引用了 test_prime_n() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_prime_n().