|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
#include <math.h>#include "../../../include/lammp/impl/mparam.h"#include "../../../include/lammp/numth.h"
sqrt_1.c 的引用(Include)关系图:函数 | |
| mp_limb_t | lmmp_sqrt_1_ (mp_ptr dsts, mp_limb_t x) |
| 计算算术平方根 floor(sqrt(x)) | |
| mp_limb_t | lmmp_sqrt_2_ (mp_ptr dsts, mp_ptr dstr, mp_srcptr numa) |
| 计算算术平方根 floor(sqrt([numa,2])) | |
| ulong | lmmp_sqrt_ulong_ (ulong a) |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
计算算术平方根 floor(sqrt(x))
| dsts | 结果指针(1个limb) |
| x | 被开方数 |
引用了 LIMB_B_4, lmmp_param_assert, lmmp_sqrt_ulong_(), n , 以及 s.
被这些函数引用 lmmp_sqrt_() , 以及 lmmp_sqrt_2_().
函数调用图:
这是这个函数的调用关系图:计算算术平方根 floor(sqrt([numa,2]))
| dsts | 结果指针(1个limb) |
| dstr | 余数指针(1个limb) |
| numa | 被开方数指针 |
引用了 LIMB_B_4, lmmp_param_assert, lmmp_sqrt_1_(), n , 以及 s.
被这些函数引用 lmmp_sqrt_divide_().
函数调用图:
这是这个函数的调用关系图:Copyright (C) 2026 HJimmyK(Jericho Knox)
计算算术平方根 floor(sqrt(a))
This file is part of LAMMP.
LAMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed WITHOUT ANY WARRANTY.
See https://www.gnu.org/licenses/.
引用了 n.
被这些函数引用 lmmp_nthroot_ulong_() , 以及 lmmp_sqrt_1_().
这是这个函数的调用关系图: