|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
结构体 | |
| struct | prime_vector |
| Copyright (C) 2026 HJimmyK (Jericho Knox) 更多... | |
函数 | |
| static void | check_prime_2_agreement (mp_limb_t lo, mp_limb_t hi, const char *what) |
| TEST_CASE ("numth/prime", is_prime_2) | |
| TEST_CASE ("numth/prime", is_prime_2_notrial) | |
| void | test_prime2 (void) |
变量 | |
| static const struct prime_vector | vec128 [] |
| struct prime_vector |
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_prime2.c 第 33 行定义.
| 成员变量 | ||
|---|---|---|
| bool | expect | |
| u64 | hi | |
| u64 | lo | |
在文件 test_prime2.c 第 236 行定义.
引用了 check_prime_2_agreement(), lmmp_is_prime_2_(), lmmp_is_prime_2_notrial_(), lo , 以及 TEST_CHECK_MSG.
被这些函数引用 check_prime_2_agreement() , 以及 TEST_CASE().
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_2 | ) |
在文件 test_prime2.c 第 270 行定义.
引用了 ARRAY_SIZE, prime_vector::expect, expect2(), prime_vector::hi, k, k2t_limbs(), lmmp_is_prime_2_(), lmmp_mul_1_(), lmmp_mullh_, lo, prime_vector::lo, n, prod, proth_cert_g(), ref_is_prime64(), t, TEST_CASE, TEST_CHECK, TEST_CHECK_MSG , 以及 vec128.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_2_notrial | ) |
在文件 test_prime2.c 第 242 行定义.
引用了 ARRAY_SIZE, check_prime_2_agreement(), lo , 以及 TEST_CASE.
| void test_prime2 | ( | void | ) |
在文件 test_prime2.c 第 355 行定义.
引用了 test_prime2() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_prime2().
|
static |
被这些函数引用 TEST_CASE().