|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"函数 | |
| void | lmmp_not_ (mp_ptr dst, mp_srcptr numa, mp_size_t na) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| mp_limb_t | lmmp_shlnot_ (mp_ptr restrict dst, mp_srcptr restrict numa, mp_size_t na, mp_size_t shl) |
Copyright (C) 2026 HJimmyK (Jericho Knox)
按位取反操作 [dst,na] = ~[numa,na] (对每个limb执行按位非操作)
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
Copyright (C) 2026 HJimmyK (Jericho Knox)
| dst | 结果输出指针 |
| numa | 源操作数指针 |
| na | limb长度 |
引用了 lmmp_not_().
被这些函数引用 bench_not(), lmmp_binvert_n_dc_(), lmmp_binvert_unbalance_(), lmmp_fft_shl_coef_(), lmmp_inv_basecase_(), lmmp_invappr_newton_(), lmmp_invcbrt_newton_(), lmmp_invsqrt_newton_(), lmmp_mont_init_(), lmmp_mont_redc_(), lmmp_mullh_(), lmmp_not_(), lmmp_redc_(), lmmp_shlnot_(), mrs_neg_(), TEST_CASE(), TEST_CASE() , 以及 TEST_CASE().
| mp_limb_t lmmp_shlnot_ | ( | mp_ptr restrict | dst, |
| mp_srcptr restrict | numa, | ||
| mp_size_t | na, | ||
| mp_size_t | shl ) |
引用了 LIMB_BITS, lmmp_not_(), lmmp_shlnot_(), n, restrict , 以及 t.