|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
#include "../../../include/lammp/impl/tmp_alloc.h"#include "../../../include/lammp/lmmpn.h"#include "../../../include/lammp/numth.h"
gcd_basecase.c 的引用(Include)关系图:宏定义 | |
| #define | an un |
| #define | bn vn |
函数 | |
| mp_size_t | lmmp_gcd_basecase_ (mp_ptr dst, mp_srcptr up, mp_size_t un, mp_srcptr vp, mp_size_t vn) |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
Copyright (C) 2026 HJimmyK(Jericho Knox)
计算两个无符号整数的最大公约数(不建议使用此算法,更高版本可能被彻底弃用)
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/.
在文件 gcd_basecase.c 第 20 行定义.
引用了 an, bn, lmmp_cmp_(), lmmp_copy, lmmp_div_(), lmmp_param_assert, LMMP_SWAP, n, TALLOC_TYPE, TEMP_DECL , 以及 TEMP_FREE.
函数调用图: