|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"宏定义 | |
| #define | LMMP_DECL_MUL_HARD(n) |
| #define | LMMP_DECL_SQR_HARD(n) |
| #define | LMMP_MUL_HARD_MAX_N 19 |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| #define | lmmp_mul_hard_n_ __lmmp_mul_hard_n_ |
| #define | lmmp_sqr_hard_n_ __lmmp_sqr_hard_n_ |
变量 | |
| void(*const | lmmp_mul_hard_fns_ [19+1])(mp_ptr dst, mp_srcptr numa, mp_srcptr numb) |
| 硬编码平衡乘法跳转表, [i] 即 lmmp_mul_hard_i_, 下标 0 为 NULL | |
| void(*const | lmmp_sqr_hard_fns_ [19+1])(mp_ptr dst, mp_srcptr numa) |
| 硬编码平衡平方跳转表, [i] 即 lmmp_sqr_hard_i_, 下标 0 为 NULL | |
| #define LMMP_DECL_MUL_HARD | ( | n | ) |
在文件 mul_hard.h 第 31 行定义.
被这些函数引用 lmmp_mul_hard_10_(), lmmp_mul_hard_11_(), lmmp_mul_hard_12_(), lmmp_mul_hard_13_(), lmmp_mul_hard_14_(), lmmp_mul_hard_15_(), lmmp_mul_hard_16_(), lmmp_mul_hard_17_(), lmmp_mul_hard_18_(), lmmp_mul_hard_19_(), lmmp_mul_hard_1_(), lmmp_mul_hard_2_(), lmmp_mul_hard_3_(), lmmp_mul_hard_4_(), lmmp_mul_hard_5_(), lmmp_mul_hard_6_(), lmmp_mul_hard_7_(), lmmp_mul_hard_8_() , 以及 lmmp_mul_hard_9_().
| #define LMMP_DECL_SQR_HARD | ( | n | ) |
在文件 mul_hard.h 第 33 行定义.
被这些函数引用 lmmp_sqr_hard_10_(), lmmp_sqr_hard_11_(), lmmp_sqr_hard_12_(), lmmp_sqr_hard_13_(), lmmp_sqr_hard_14_(), lmmp_sqr_hard_15_(), lmmp_sqr_hard_16_(), lmmp_sqr_hard_17_(), lmmp_sqr_hard_18_(), lmmp_sqr_hard_19_(), lmmp_sqr_hard_1_(), lmmp_sqr_hard_2_(), lmmp_sqr_hard_3_(), lmmp_sqr_hard_4_(), lmmp_sqr_hard_5_(), lmmp_sqr_hard_6_(), lmmp_sqr_hard_7_(), lmmp_sqr_hard_8_() , 以及 lmmp_sqr_hard_9_().
| #define LMMP_MUL_HARD_MAX_N 19 |
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
在文件 mul_hard.h 第 29 行定义.
被这些函数引用 __lmmp_mul_hard_n_(), __lmmp_sqr_hard_n_(), lmmp_sqr_hard_19_() , 以及 TEST_CASE().
| #define lmmp_mul_hard_n_ __lmmp_mul_hard_n_ |
在文件 mul_hard.h 第 122 行定义.
被这些函数引用 __lmmp_mul_n_() , 以及 lmmp_mul_n_().
| #define lmmp_sqr_hard_n_ __lmmp_sqr_hard_n_ |
在文件 mul_hard.h 第 123 行定义.
被这些函数引用 __lmmp_sqr_(), lmmp_sqr_(), lmmp_u32_pow_1_() , 以及 lmmp_u64_pow_1_().
硬编码平衡乘法分派 [dst,2n] = [numa,n] * [numb,n]
| dst | 结果输出指针 |
| numa | 第一个乘数 |
| numb | 第二个乘数 |
| n | 操作数 limb 长度 |
在文件 mul_hard.h 第 99 行定义.
引用了 __lmmp_mul_hard_n_(), lmmp_mul_basecase_(), lmmp_mul_hard_fns_, LMMP_MUL_HARD_MAX_N, n , 以及 numb.
被这些函数引用 __lmmp_mul_hard_n_().
硬编码平衡平方分派 [dst,2n] = [numa,n]^2
| dst | 结果输出指针 |
| numa | 输入操作数 |
| n | 操作数 limb 长度 |
在文件 mul_hard.h 第 115 行定义.
引用了 __lmmp_sqr_hard_n_(), LMMP_MUL_HARD_MAX_N, lmmp_sqr_basecase_(), lmmp_sqr_hard_fns_ , 以及 n.
被这些函数引用 __lmmp_sqr_hard_n_().
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_MUL_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
被这些函数引用 lmmp_cbrt_(), lmmp_cbrt_6_fast_(), lmmp_cbrt_divide_(), lmmp_cube_6_(), lmmp_cube_6_(), lmmp_sqrt_divide_() , 以及 lmmp_u64_pow_1_().
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
引用了 LMMP_DECL_SQR_HARD.
|
extern |
硬编码平衡乘法跳转表, [i] 即 lmmp_mul_hard_i_, 下标 0 为 NULL
Copyright (C) 2026 HJimmyK (Jericho Knox)
硬编码平衡乘法跳转表, [i] 即 lmmp_mul_hard_i_, 下标 0 为 NULL
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
在文件 mul_hard.c 第 26 行定义.
被这些函数引用 __lmmp_mul_hard_n_() , 以及 lmmp_sqr_hard_19_().
|
extern |
硬编码平衡平方跳转表, [i] 即 lmmp_sqr_hard_i_, 下标 0 为 NULL
在文件 mul_hard.c 第 49 行定义.
被这些函数引用 __lmmp_sqr_hard_n_() , 以及 lmmp_sqr_hard_19_().