|
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"#include <string.h>函数 | |
| TEST_CASE ("numth/divexact", divexact_1) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("numth/divexact", divexact_2) | |
| TEST_CASE ("numth/divexact", divexact_basecase_divide_cross) | |
| TEST_CASE ("numth/divexact", divexact_unbalanced_preinv) | |
| void | test_divexact (void) |
| TEST_CASE | ( | "numth/divexact" | , |
| divexact_1 | ) |
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_divexact.c 第 36 行定义.
引用了 lmmp_binvert_ulong_(), lmmp_div_1_(), lmmp_divexact_1_(), lmmp_free(), lmmp_mul_1_(), lmmp_mullh_, n, TEST_CASE , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "numth/divexact" | , |
| divexact_2 | ) |
在文件 test_divexact.c 第 82 行定义.
引用了 lmmp_binvert_2_(), lmmp_divexact_2_(), lmmp_free(), lmmp_mul_(), n, TEST_CASE , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "numth/divexact" | , |
| divexact_basecase_divide_cross | ) |
在文件 test_divexact.c 第 107 行定义.
引用了 ARRAY_SIZE, lmmp_div_(), lmmp_divexact_(), lmmp_divexact_basecase_(), lmmp_divexact_divide_(), lmmp_divexact_unbalance_(), lmmp_free(), lmmp_zero, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "numth/divexact" | , |
| divexact_unbalanced_preinv | ) |
在文件 test_divexact.c 第 177 行定义.
引用了 ARRAY_SIZE, lmmp_binvert_(), lmmp_divexact_unbalance_(), lmmp_free(), lmmp_mul_(), TEST_CASE , 以及 TEST_CHECK_EQ.
| void test_divexact | ( | void | ) |
在文件 test_divexact.c 第 208 行定义.
引用了 test_divexact() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_divexact().