|
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/fib", large_recurrence_and_cassini) | |
| TEST_CASE ("numth/fib", small_exhaustive) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| void | test_fib (void) |
| TEST_CASE | ( | "numth/fib" | , |
| large_recurrence_and_cassini | ) |
在文件 test_fib.c 第 74 行定义.
引用了 ARRAY_SIZE, LIMB_MAX, lmmp_add_(), lmmp_fibonacci2_(), lmmp_fibonacci_(), lmmp_fibonacci_size_(), lmmp_free(), lmmp_mul_(), lmmp_sqr_, lmmp_sub_(), lmmp_zero, n, s, t, TEST_CASE , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/fib" | , |
| small_exhaustive | ) |
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_fib.c 第 36 行定义.
引用了 ARRAY_SIZE, k, lmmp_add_(), lmmp_fibonacci2_(), lmmp_fibonacci_(), lmmp_fibonacci_size_(), lmmp_free(), lmmp_zero, n, s, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| void test_fib | ( | void | ) |
在文件 test_fib.c 第 129 行定义.
引用了 test_fib() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_fib().