|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "impl/tmp_alloc.h"#include "impl/longlong.h"#include "impl/inlines.h"#include "mparam.h"#include "lmmp/lmmpn.h"#include "lmmp/numth.h"宏定义 | |
| #define | getbit(p, bi) |
函数 | |
| static mp_bitcnt_t | count_bits (mp_srcptr p, mp_size_t n) |
| static mp_limb_t | getbits (const mp_limb_t *p, mp_bitcnt_t bi, mp_bitcnt_t nbits) |
| static void | lmmp_mullo_n_ (mp_ptr restrict dst, mp_srcptr restrict numa, mp_srcptr restrict numb, mp_size_t n, mp_ptr restrict tp) |
| void | lmmp_powlo_ (mp_ptr restrict dst, mp_srcptr restrict bp, mp_size_t n, mp_srcptr restrict ep, mp_size_t en) |
| void | lmmp_powlo_1_ (mp_ptr restrict dst, mp_srcptr restrict bp, mp_srcptr restrict ep, mp_size_t en) |
| void | lmmp_powlo_2_ (mp_ptr restrict dst, mp_srcptr restrict bp, mp_srcptr restrict ep, mp_size_t en) |
| static void | lmmp_sqrlo_n_ (mp_ptr restrict dst, mp_srcptr restrict numa, mp_size_t n, mp_ptr restrict tp) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| static mp_size_t | win_size (mp_size_t eb) |
| #define getbit | ( | p, | |
| bi ) |
被这些函数引用 lmmp_powlo_(), lmmp_powlo_1_(), lmmp_powlo_2_(), lmmp_powmod_1_(), lmmp_powmod_2_() , 以及 lmmp_powmod_odd_mont_().
|
inlinestatic |
引用了 count_bits(), LIMB_BITS, lmmp_limb_bits_ , 以及 n.
被这些函数引用 count_bits(), count_bits(), count_bits(), count_bits(), lmmp_powlo_(), lmmp_powlo_1_(), lmmp_powlo_2_(), lmmp_powmod_1_(), lmmp_powmod_2_(), lmmp_powmod_odd_() , 以及 lmmp_powmod_odd_mont_().
|
inlinestatic |
被这些函数引用 getbits(), getbits(), getbits(), getbits(), lmmp_powlo_(), lmmp_powlo_1_(), lmmp_powlo_2_(), lmmp_powmod_1_(), lmmp_powmod_2_() , 以及 lmmp_powmod_odd_mont_().
|
inlinestatic |
引用了 lmmp_mullo_dc_(), lmmp_mullo_fft_(), lmmp_mullo_n_(), MULLO_DC_THRESHOLD, n, numb, restrict , 以及 tp.
| void lmmp_powlo_ | ( | mp_ptr restrict | dst, |
| mp_srcptr restrict | bp, | ||
| mp_size_t | n, | ||
| mp_srcptr restrict | ep, | ||
| mp_size_t | en ) |
引用了 count_bits(), ctz_shr_u64, getbit, getbits(), lmmp_copy, lmmp_debug_assert, LMMP_MIN, lmmp_mullo_n_(), lmmp_param_assert, lmmp_powlo_(), lmmp_powlo_1_(), lmmp_powlo_2_(), lmmp_sqrlo_n_(), LMMP_SWAP, n, restrict, scratch, TALLOC_TYPE, TEMP_DECL, TEMP_FREE, tp , 以及 win_size().
| void lmmp_powlo_1_ | ( | mp_ptr restrict | dst, |
| mp_srcptr restrict | bp, | ||
| mp_srcptr restrict | ep, | ||
| mp_size_t | en ) |
引用了 b2, count_bits(), ctz_shr_u64, getbit, getbits(), lmmp_debug_assert, LMMP_MIN, lmmp_param_assert, lmmp_powlo_1_(), restrict, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 win_size().
| void lmmp_powlo_2_ | ( | mp_ptr restrict | dst, |
| mp_srcptr restrict | bp, | ||
| mp_srcptr restrict | ep, | ||
| mp_size_t | en ) |
引用了 _umul128to128_(), b2, count_bits(), ctz_shr_u64, getbit, getbits(), lmmp_debug_assert, LMMP_MIN, lmmp_param_assert, lmmp_powlo_2_(), restrict, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 win_size().
|
inlinestatic |
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
引用了 lmmp_mullo_fft_(), lmmp_sqrlo_dc_(), lmmp_sqrlo_n_(), MULLO_DC_THRESHOLD, n, restrict , 以及 tp.
被这些函数引用 lmmp_powlo_() , 以及 lmmp_sqrlo_n_().
引用了 k , 以及 win_size().
被这些函数引用 lmmp_powlo_(), lmmp_powlo_1_(), lmmp_powlo_2_() , 以及 win_size().