LMMP 4.3.0
Lamina High-Precision Arithmetic Library
载入中...
搜索中...
未找到
main.c 文件参考
#include "cases.h"
#include "lmmp/lmmp.h"
main.c 的引用(Include)关系图:

浏览该文件的源代码.

函数

int main (void)
 Copyright (C) 2026 HJimmyK (Jericho Knox)

函数说明

◆ main()

int main ( 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

在文件 main.c 第 26 行定义.

26 {
27 setvbuf(stdout, NULL, _IONBF, 0);
30 test_binom();
32 test_cbrt();
35 test_fib();
36 test_gcd();
41 test_pow();
46 test_proth();
47 test_sqrt();
49 return lmmp_test_finish();
50}
void lmmp_global_init(void)
全局初始化函数(线程局部的)
void lmmp_global_deinit(void)
全局释放函数(线程局部的)
void test_nthroot(void)
void test_proth(void)
void test_divexact(void)
void test_gcd(void)
void test_combin(void)
void test_combin_boundaries(void)
Copyright (C) 2026 HJimmyK (Jericho Knox)
void test_fib(void)
void test_sqrt(void)
void test_prime_uint(void)
void test_prime_n(void)
void test_gcdext(void)
void test_powmod(void)
void test_binom(void)
void test_pow(void)
void test_modinv(void)
void test_gcd_lehmer(void)
void test_cbrt(void)
void test_prime2(void)
void test_binvert(void)
int lmmp_test_finish(void)
定义 test.c:51

引用了 lmmp_global_deinit(), lmmp_global_init(), lmmp_test_finish(), main(), test_binom(), test_binvert(), test_cbrt(), test_combin(), test_combin_boundaries(), test_divexact(), test_fib(), test_gcd(), test_gcd_lehmer(), test_gcdext(), test_modinv(), test_nthroot(), test_pow(), test_powmod(), test_prime2(), test_prime_n(), test_prime_uint(), test_proth() , 以及 test_sqrt().

函数调用图: