|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
add_n_sub_n.c 的引用(Include)关系图:函数 | |
| mp_limb_t | lmmp_add_n_sub_n_ (mp_ptr dsta, mp_ptr dstb, mp_srcptr numa, mp_srcptr numb, mp_size_t n) |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
| mp_limb_t lmmp_add_n_sub_n_ | ( | mp_ptr | dsta, |
| mp_ptr | dstb, | ||
| mp_srcptr | numa, | ||
| mp_srcptr | numb, | ||
| mp_size_t | n | ||
| ) |
Copyright (C) 2026 HJimmyK(Jericho Knox)
同时执行n位加法和减法 ([dsta,n],[dstb,n]) = ([numa,n]+[numb,n],[numa,n]-[numb,n])
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/.
在文件 add_n_sub_n.c 第 20 行定义.
引用了 lmmp_add_nc_(), lmmp_copy, LMMP_MIN, lmmp_sub_nc_(), n, numb, PART_SIZE , 以及 tp.
被这些函数引用 lmmp_mul_toom32_(), lmmp_mul_toom33_(), lmmp_mul_toom42_(), lmmp_mul_toom42_cache_(), lmmp_mul_toom42_cache_init_(), lmmp_mul_toom43_(), lmmp_mul_toom52_(), lmmp_mul_toom53_(), lmmp_mul_toom62_(), lmmp_mul_toom62_cache_init_(), lmmp_sqr_toom3_(), lmmp_toom_eval_dgr3_pm1_(), lmmp_toom_eval_dgr3_pm2_(), lmmp_toom_eval_pm1_() , 以及 lmmp_toom_eval_pm2_().
函数调用图:
这是这个函数的调用关系图: