|
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>函数 | |
| static bool | cbrt_floor_ok (const mp_limb_t *r, mp_size_t rn, const mp_limb_t *n, mp_size_t na) |
| static u64 | icbrt_u64 (u64 x) |
| static u64 | isqrt_u64 (u64 x) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE ("numth/cbrt", cbrt_6_divide_dispatcher) | |
| TEST_CASE ("numth/cbrt", cbrt_scalar_and_cbrt_3) | |
| TEST_CASE ("numth/cbrt", invcbrt_newton_semantics) | |
| void | test_cbrt (void) |
在文件 test_cbrt.c 第 64 行定义.
引用了 cbrt_floor_ok(), lmmp_add_n_(), lmmp_free(), lmmp_mul_(), lmmp_mul_1_(), lmmp_sqr_, lmmp_zero , 以及 n.
被这些函数引用 cbrt_floor_ok(), TEST_CASE() , 以及 TEST_CASE().
在文件 test_cbrt.c 第 51 行定义.
引用了 icbrt_u64() , 以及 lo.
被这些函数引用 icbrt_u64() , 以及 TEST_CASE().
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_cbrt.c 第 40 行定义.
引用了 isqrt_u64() , 以及 lo.
被这些函数引用 isqrt_u64(), isqrt_u64(), TEST_CASE() , 以及 TEST_CASE().
| TEST_CASE | ( | "numth/cbrt" | , |
| cbrt_6_divide_dispatcher | ) |
在文件 test_cbrt.c 第 123 行定义.
引用了 ARRAY_SIZE, cbrt_floor_ok(), lmmp_cbrt_(), lmmp_cbrt_6_(), lmmp_cbrt_6_fast_(), lmmp_cbrt_divide_(), lmmp_cbrt_ulong_(), lmmp_free(), lmmp_mul_(), lmmp_sqr_, lmmp_sub_(), lmmp_zero, TEST_CASE, TEST_CHECK_EQ, TEST_CHECK_MSG , 以及 tp.
| TEST_CASE | ( | "numth/cbrt" | , |
| cbrt_scalar_and_cbrt_3 | ) |
在文件 test_cbrt.c 第 91 行定义.
引用了 ARRAY_SIZE, cbrt_floor_ok(), icbrt_u64(), isqrt_u64(), lmmp_cbrt_3_(), lmmp_cbrt_chebyshev_(), lmmp_cbrt_ulong_(), lmmp_nthroot_ulong_(), TEST_CASE, TEST_CHECK_EQ , 以及 TEST_CHECK_MSG.
| TEST_CASE | ( | "numth/cbrt" | , |
| invcbrt_newton_semantics | ) |
在文件 test_cbrt.c 第 238 行定义.
引用了 ARRAY_SIZE, lmmp_cbrt_(), lmmp_div_(), lmmp_free(), lmmp_invcbrt_newton_(), lmmp_zero, TEST_CASE , 以及 TEST_CHECK_MSG.
| void test_cbrt | ( | void | ) |
在文件 test_cbrt.c 第 286 行定义.
引用了 test_cbrt() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_cbrt().