|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "impl/inlines.h"#include "mparam.h"#include "impl/tmp_alloc.h"#include "lmmp/lmmpn.h"#include "lmmp/numth.h"宏定义 | |
| #define | b1 base |
| #define | b1n n |
| #define | mul_b(_i_) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
函数 | |
| mp_size_t | lmmp_pow_basecase_ (mp_ptr restrict dst, mp_size_t rn, mp_srcptr restrict base, mp_size_t n, ulong exp) |
| #define b1 base |
| #define b1n n |
| #define mul_b | ( | _i_ | ) |
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
在文件 pow_basecase.c 第 30 行定义.
| mp_size_t lmmp_pow_basecase_ | ( | mp_ptr restrict | dst, |
| mp_size_t | rn, | ||
| mp_srcptr restrict | base, | ||
| mp_size_t | n, | ||
| ulong | exp ) |
在文件 pow_basecase.c 第 35 行定义.
引用了 LIMB_B_2, lmmp_copy, lmmp_debug_assert, lmmp_leading_zeros_, lmmp_param_assert, lmmp_pow_basecase_(), lmmp_sqr_, mul_b, n, restrict, TALLOC_TYPE, TEMP_DECL , 以及 TEMP_FREE.