LMMP
4.3.0
Lamina High-Precision Arithmetic Library
Toggle main menu visibility
载入中...
搜索中...
未找到
main.c
浏览该文件的文档.
1
/**
2
* Copyright (C) 2026 HJimmyK (Jericho Knox)
3
*
4
* This file is part of LMMP.
5
*
6
* LMMP is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License as
8
* published by the Free Software Foundation; either version 3 of
9
* the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library. If not, see
18
* <https://www.gnu.org/licenses/>.
19
*
20
* SPDX-License-Identifier: LGPL-3.0-or-later
21
*/
22
23
#include "
cases.h
"
24
#include "
lmmp/lmmp.h
"
25
26
int
main
(
void
) {
27
setvbuf(stdout, NULL, _IONBF, 0);
28
lmmp_global_init
();
29
test_asm_boundary
();
30
test_asm_functions
();
31
test_deterministic_extra
();
32
test_div
();
33
test_low_limb
();
34
test_memory_layout
();
35
test_mul
();
36
test_mul_mersenne
();
37
test_mul_toom68
();
38
test_str
();
39
test_threshold_boundaries
();
40
lmmp_global_deinit
();
41
return
lmmp_test_finish
();
42
}
main
int main(void)
Copyright (C) 2026 HJimmyK (Jericho Knox)
定义
main.c:26
lmmp.h
lmmp_global_init
void lmmp_global_init(void)
全局初始化函数(线程局部的)
定义
global.c:58
lmmp_global_deinit
void lmmp_global_deinit(void)
全局释放函数(线程局部的)
定义
global.c:65
cases.h
test_str
void test_str(void)
定义
test_str.c:381
test_mul_toom68
void test_mul_toom68(void)
定义
test_mul_toom68.c:318
test_div
void test_div(void)
定义
test_div.c:236
test_threshold_boundaries
void test_threshold_boundaries(void)
定义
test_threshold_boundaries.c:219
test_asm_functions
void test_asm_functions(void)
定义
test_asm_functions.c:483
test_memory_layout
void test_memory_layout(void)
定义
test_memory_layout.c:250
test_deterministic_extra
void test_deterministic_extra(void)
定义
test_deterministic_extra.c:142
test_mul_mersenne
void test_mul_mersenne(void)
定义
test_mul_mersenne.c:194
test_low_limb
void test_low_limb(void)
定义
test_low_limb.c:379
test_asm_boundary
void test_asm_boundary(void)
Copyright (C) 2026 HJimmyK (Jericho Knox)
定义
test_asm_boundary.c:318
test_mul
void test_mul(void)
定义
test_mul.c:350
lmmp_test_finish
int lmmp_test_finish(void)
定义
test.c:51
src
lmmp
lmmpn
test
main.c
生成于
, 为 LMMP使用
1.18.0