|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
函数 | |
| TEST_CASE ("numth/prime", is_prime_u32_tiers) | |
| TEST_CASE ("numth/prime", is_prime_uint_ulong_notrial) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("numth/prime", mulmod_powmod) | |
| TEST_CASE ("numth/prime", next_prev_prime) | |
| void | test_prime_uint (void) |
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_u32_tiers | ) |
在文件 test_prime_uint.c 第 54 行定义.
引用了 ARRAY_SIZE, lmmp_is_prime_uint_(), lmmp_is_prime_ulong_(), lmmp_is_prime_ulong_notrial_(), lmmp_next_prime_ulong_(), n, ref_is_prime32(), s, t, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| is_prime_uint_ulong_notrial | ) |
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_uint.c 第 38 行定义.
引用了 lmmp_is_prime_uint_(), lmmp_is_prime_ulong_(), lmmp_is_prime_ulong_notrial_(), n, ref_is_prime32(), ref_is_prime64(), TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| mulmod_powmod | ) |
在文件 test_prime_uint.c 第 163 行定义.
引用了 lmmp_mullh_, lmmp_mulmod_ulong_(), lmmp_powmod_uint_odd_(), lmmp_powmod_ulong_odd_(), lo, mod_pow64(), prod, TEST_CASE, TEST_CHECK_EQ , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/prime" | , |
| next_prev_prime | ) |
在文件 test_prime_uint.c 第 118 行定义.
引用了 k, lmmp_next_prime_ulong_(), lmmp_prev_prime_ulong_(), n, ref_is_prime64(), TEST_CASE, TEST_CHECK, TEST_CHECK_EQ , 以及 TEST_CHECK_MSG.
| void test_prime_uint | ( | void | ) |
在文件 test_prime_uint.c 第 199 行定义.
引用了 test_prime_uint() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_prime_uint().