|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"#include "lmmp/numth.h"#include "cases.h"#include "support/lmmp_test_utils.h"函数 | |
| TEST_CASE ("numth/fac", factorial) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("numth/fac_extern", double_hyper_super_primefac) | |
| TEST_CASE ("numth/remove", remove_factors) | |
| void | test_combin (void) |
| TEST_CASE | ( | "numth/fac" | , |
| factorial | ) |
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.c 第 37 行定义.
引用了 ARRAY_SIZE, lmmp_factorial_(), lmmp_factorial_size_(), lmmp_free(), lmmp_zero, n, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "numth/fac_extern" | , |
| double_hyper_super_primefac | ) |
在文件 test_combin.c 第 117 行定义.
引用了 ARRAY_SIZE, k, lmmp_2factorial_(), lmmp_2factorial_size_(), lmmp_factorial_(), lmmp_factorial_size_(), lmmp_free(), lmmp_hyperfac_(), lmmp_hyperfac_size_(), lmmp_primefac_(), lmmp_primefac_size_(), lmmp_superfac_(), lmmp_superfac_size_(), lmmp_zero, n, prod, s, t, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "numth/remove" | , |
| remove_factors | ) |
在文件 test_combin.c 第 235 行定义.
引用了 ARRAY_SIZE, k, lmmp_free(), lmmp_remove_(), TEST_CASE , 以及 TEST_CHECK_EQ.
| void test_combin | ( | void | ) |
在文件 test_combin.c 第 260 行定义.
引用了 test_combin() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_combin().