|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmp.h"函数 | |
| void | lmmp_fill (mp_ptr begin, mp_ptr end, mp_limb_t val) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| void | lmmp_fill_n (mp_ptr dst, mp_size_t len, mp_limb_t val) |
| 填充从dst开始的长度为len的数组,值为val | |
Copyright (C) 2026 HJimmyK (Jericho Knox)
填充[begin,end)内的数组,值为val
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)
| begin | 起始指针(含) |
| end | 终止指针(不含) |
| val | 填充值 |
引用了 lmmp_fill() , 以及 lmmp_param_assert.
被这些函数引用 lmmp_fill().
填充从dst开始的长度为len的数组,值为val
| dst | 目标数组 |
| len | 填充长度 |
| val | 填充值 |
引用了 lmmp_fill_n() , 以及 lmmp_param_assert.
被这些函数引用 lmmp_cbrt_divide_(), lmmp_fill_n() , 以及 lmmp_sqrt_divide_().