|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"#include "mparam.h"#include "lmmp/numth.h"#include "cases.h"#include "support/lmmp_test_utils.h"#include <string.h>函数 | |
| TEST_CASE ("low/addsub", add_sub_deterministic_inplace) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("low/addsub", addshl1_subshl1_boundary_deterministic) | |
| TEST_CASE ("low/div", div_1_mod_1_boundary_deterministic) | |
| TEST_CASE ("low/shift", shlnot_not_inplace_deterministic) | |
| void | test_deterministic_extra (void) |
| TEST_CASE | ( | "low/addsub" | , |
| add_sub_deterministic_inplace | ) |
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_deterministic_extra.c 第 37 行定义.
引用了 a2, b2, lmmp_add_n_(), lmmp_free(), lmmp_sub_n_(), n, TEST_CASE , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "low/addsub" | , |
| addshl1_subshl1_boundary_deterministic | ) |
在文件 test_deterministic_extra.c 第 120 行定义.
引用了 b2, c1, lmmp_add_n_(), lmmp_addshl1_n_(), lmmp_free(), lmmp_sub_n_(), lmmp_subshl1_n_(), n, t, TEST_CASE , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "low/div" | , |
| div_1_mod_1_boundary_deterministic | ) |
在文件 test_deterministic_extra.c 第 95 行定义.
引用了 ARRAY_SIZE, lmmp_div_1_(), lmmp_free(), lmmp_mod_1_(), lmmp_mul_1_(), n, t, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| TEST_CASE | ( | "low/shift" | , |
| shlnot_not_inplace_deterministic | ) |
在文件 test_deterministic_extra.c 第 67 行定义.
引用了 ARRAY_SIZE, lmmp_free(), lmmp_not_(), lmmp_shlnot_(), n, r1, r2, s, TEST_CASE , 以及 TEST_CHECK_EQ.
| void test_deterministic_extra | ( | void | ) |
在文件 test_deterministic_extra.c 第 142 行定义.
引用了 test_deterministic_extra() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_deterministic_extra().