LMMP 4.3.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
cases.h 文件参考
#include "support/test.h"
cases.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

函数

void test_binom (void)
void test_binvert (void)
void test_cbrt (void)
void test_combin (void)
void test_combin_boundaries (void)
 Copyright (C) 2026 HJimmyK (Jericho Knox)
void test_divexact (void)
void test_fib (void)
void test_gcd (void)
void test_gcd_lehmer (void)
void test_gcdext (void)
void test_modinv (void)
void test_nthroot (void)
void test_pow (void)
void test_powmod (void)
void test_prime2 (void)
void test_prime_n (void)
void test_prime_uint (void)
void test_proth (void)
void test_sqrt (void)

函数说明

◆ test_binom()

void test_binom ( void )

在文件 test_binom.c 第 189 行定义.

189 {
190 TEST_RUN("numth/number", nPr_nCr_multinomial_arith);
191}
#define TEST_RUN(category, name)
定义 test.h:36

引用了 test_binom() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_binom().

函数调用图:
这是这个函数的调用关系图:

◆ test_binvert()

void test_binvert ( void )

在文件 test_binvert.c 第 210 行定义.

210 {
211 TEST_RUN("numth/binvert", binvert_uint_ulong);
212 TEST_RUN("numth/binvert", binvert_2_3_4);
213 TEST_RUN("numth/binvert", binvert_n_dc);
214 TEST_RUN("numth/binvert", binvert_near_balanced);
215 TEST_RUN("numth/binvert", bninv_power2_top_limb);
216 TEST_RUN("numth/binvert", binvert_unbalanced_variants);
217}

引用了 test_binvert() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_binvert().

函数调用图:
这是这个函数的调用关系图:

◆ test_cbrt()

void test_cbrt ( void )

在文件 test_cbrt.c 第 286 行定义.

286 {
287 TEST_RUN("numth/cbrt", cbrt_scalar_and_cbrt_3);
288 TEST_RUN("numth/cbrt", cbrt_6_divide_dispatcher);
289 TEST_RUN("numth/cbrt", invcbrt_newton_semantics);
290}

引用了 test_cbrt() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_cbrt().

函数调用图:
这是这个函数的调用关系图:

◆ test_combin()

void test_combin ( void )

在文件 test_combin.c 第 260 行定义.

260 {
261 TEST_RUN("numth/fac", factorial);
262 TEST_RUN("numth/fac_extern", double_hyper_super_primefac);
263 TEST_RUN("numth/remove", remove_factors);
264}

引用了 test_combin() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_combin().

函数调用图:
这是这个函数的调用关系图:

◆ test_combin_boundaries()

void test_combin_boundaries ( void )

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_combin_boundaries.c 第 125 行定义.

125 {
126 TEST_RUN("numth/combin", nPr_nCr_degenerate_boundaries);
127}

引用了 test_combin_boundaries() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_combin_boundaries().

函数调用图:
这是这个函数的调用关系图:

◆ test_divexact()

void test_divexact ( void )

在文件 test_divexact.c 第 208 行定义.

208 {
209 TEST_RUN("numth/divexact", divexact_1);
210 TEST_RUN("numth/divexact", divexact_2);
211 TEST_RUN("numth/divexact", divexact_basecase_divide_cross);
212 TEST_RUN("numth/divexact", divexact_unbalanced_preinv);
213}

引用了 test_divexact() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_divexact().

函数调用图:
这是这个函数的调用关系图:

◆ test_fib()

void test_fib ( void )

在文件 test_fib.c 第 129 行定义.

129 {
130 TEST_RUN("numth/fib", small_exhaustive);
131 TEST_RUN("numth/fib", large_recurrence_and_cassini);
132}

引用了 test_fib() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_fib().

函数调用图:
这是这个函数的调用关系图:

◆ test_gcd()

void test_gcd ( void )

在文件 test_gcd.c 第 218 行定义.

218 {
219 TEST_RUN("numth/gcd", gcd_11);
220 TEST_RUN("numth/gcd", gcd_1);
221 TEST_RUN("numth/gcd", gcd_22_and_gcd_2);
222 TEST_RUN("numth/gcd", gcd_22_shapes);
223 TEST_RUN("numth/gcd", gcd_2_multiple_and_gcd_1_zero);
224 TEST_RUN("numth/gcd", gcd_empty);
225}

引用了 test_gcd() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_gcd().

函数调用图:
这是这个函数的调用关系图:

◆ test_gcd_lehmer()

void test_gcd_lehmer ( void )

在文件 test_gcd_lehmer.c 第 470 行定义.

470 {
471 TEST_RUN("numth/gcd", gcd_lehmer_identities);
472 TEST_RUN("numth/gcd", gcd_lehmer_large);
473 TEST_RUN("numth/gcd", hgcd_matrix_reduction);
474 TEST_RUN("numth/gcd", gcd_hgcd_correctness);
475 TEST_RUN("numth/gcd", gcd_dispatch);
476 TEST_RUN("numth/gcd", gcd_unbalanced);
477}

引用了 test_gcd_lehmer() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_gcd_lehmer().

函数调用图:
这是这个函数的调用关系图:

◆ test_gcdext()

void test_gcdext ( void )

在文件 test_gcdext.c 第 396 行定义.

396 {
397 TEST_RUN("numth/gcdext", gcdext_11);
398 TEST_RUN("numth/gcdext", gcdext_1);
399 TEST_RUN("numth/gcdext", gcdext_2);
400 TEST_RUN("numth/gcdext", gcdext_lehmer_and_dispatch);
401 TEST_RUN("numth/gcdext", gcdext_fibonacci);
402 TEST_RUN("numth/gcdext", gcdext_large_cross);
403}

引用了 test_gcdext() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_gcdext().

函数调用图:
这是这个函数的调用关系图:

◆ test_modinv()

void test_modinv ( void )

在文件 test_modinv.c 第 148 行定义.

148 {
149 TEST_RUN("numth/modinv", modinv_ulong);
150 TEST_RUN("numth/modinv", modinv_big);
151}

引用了 test_modinv() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_modinv().

函数调用图:
这是这个函数的调用关系图:

◆ test_nthroot()

void test_nthroot ( void )

在文件 test_nthroot.c 第 276 行定义.

276 {
277 TEST_RUN("numth/nthroot", nthroot_top_random_and_powers);
278 TEST_RUN("numth/nthroot", nthroot_top_probe_construction);
279 TEST_RUN("numth/nthroot", nthroot_ulong_scalar);
280}

引用了 test_nthroot() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_nthroot().

函数调用图:
这是这个函数的调用关系图:

◆ test_pow()

void test_pow ( void )

在文件 test_pow.c 第 222 行定义.

222 {
223 TEST_RUN("numth/pow", pow_1_variants_and_anchors);
224 TEST_RUN("numth/pow", pow_multi_variants);
225}

引用了 test_pow() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_pow().

函数调用图:
这是这个函数的调用关系图:

◆ test_powmod()

void test_powmod ( void )

在文件 test_powmod.c 第 542 行定义.

542 {
543 TEST_RUN("numth/powmod", redc_value);
544 TEST_RUN("numth/powmod", powmod_odd_and_dispatch);
545 TEST_RUN("numth/powmod", powmod_exponent_and_product_laws);
546 TEST_RUN("numth/powmod", powlo_family);
547 TEST_RUN("numth/powmod", powmod_even_two_adic);
548 TEST_RUN("numth/powmod", mont_sp_redc_value);
549}

引用了 test_powmod() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_powmod().

函数调用图:
这是这个函数的调用关系图:

◆ test_prime2()

void test_prime2 ( void )

在文件 test_prime2.c 第 355 行定义.

355 {
356 TEST_RUN("numth/prime", is_prime_2_notrial);
357 TEST_RUN("numth/prime", is_prime_2);
358}

引用了 test_prime2() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_prime2().

函数调用图:
这是这个函数的调用关系图:

◆ test_prime_n()

void test_prime_n ( void )

在文件 test_prime_n.c 第 367 行定义.

367 {
368 TEST_RUN("numth/prime", is_prime_n_proven_primes);
369 TEST_RUN("numth/prime", is_prime_n_notrial_agree);
370 TEST_RUN("numth/prime", is_prime_n_deterministic_reject);
371 TEST_RUN("numth/prime", is_strong_lucas_n);
372 TEST_RUN("numth/prime", is_prime_n_constructive_spsp);
373 TEST_RUN("numth/prime", is_prime_n_product_composites);
374 TEST_RUN("numth/prime", is_prime_n_v2_boundary);
375}

引用了 test_prime_n() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_prime_n().

函数调用图:
这是这个函数的调用关系图:

◆ test_prime_uint()

void test_prime_uint ( void )

在文件 test_prime_uint.c 第 199 行定义.

199 {
200 TEST_RUN("numth/prime", is_prime_uint_ulong_notrial);
201 TEST_RUN("numth/prime", is_prime_u32_tiers);
202 TEST_RUN("numth/prime", next_prev_prime);
203 TEST_RUN("numth/prime", mulmod_powmod);
204}

引用了 test_prime_uint() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_prime_uint().

函数调用图:
这是这个函数的调用关系图:

◆ test_proth()

void test_proth ( void )

在文件 test_proth.c 第 137 行定义.

137 {
138 TEST_RUN("numth/proth", is_prothprime_small);
139 TEST_RUN("numth/proth", is_prothprime_driver);
140 TEST_RUN("numth/proth", is_prothprime_constructed);
141}

引用了 test_proth() , 以及 TEST_RUN.

被这些函数引用 main() , 以及 test_proth().

函数调用图:
这是这个函数的调用关系图:

◆ test_sqrt()

void test_sqrt ( void )

在文件 test_sqrt.c 第 411 行定义.

411 {
412 TEST_RUN("numth/sqrt", sqrt_ulong_sqrt_1_sqrt_2);
413 TEST_RUN("numth/sqrt", sqrt_3_sqrt_4_and_divide);
414 TEST_RUN("numth/sqrt", sqrt_dispatcher_fractional);
415 TEST_RUN("numth/sqrt", invsqrt_newton_semantics);
416 TEST_RUN("numth/perfsqr", perfsqr_filter_perfsqr);
417}

引用了 TEST_RUN , 以及 test_sqrt().

被这些函数引用 main() , 以及 test_sqrt().

函数调用图:
这是这个函数的调用关系图: