|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
#include "../../../include/lammp/impl/inlines.h"#include "../../../include/lammp/impl/tmp_alloc.h"#include "../../../include/lammp/lmmpn.h"#include "../../../include/lammp/numth.h"
remove.c 的引用(Include)关系图:宏定义 | |
| #define | MAX_EXP 48 |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
函数 | |
| mp_size_t | lmmp_remove_ (mp_ptr np, mp_size_t *restrict nn, mp_srcptr dp, mp_size_t dn) |
| static mp_size_t | try_div_ (mp_ptr qp, mp_ptr rp, mp_srcptr divp, mp_size_t divn, mp_srcptr numb, mp_size_t nb) |
| qp 为商,rp 为余数,divp 为被除数,divn 为被除数长度,numb 为除数,nb 为除数长度 如果无法整除,则返回0,否则返回除数 qp 的长度 | |
| #define MAX_EXP 48 |
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.
引用了 lmmp_copy, lmmp_param_assert, lmmp_sqr_, LMMP_SWAP, MAX_EXP, n, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 try_div_().
函数调用图:
|
inlinestatic |
qp 为商,rp 为余数,divp 为被除数,divn 为被除数长度,numb 为除数,nb 为除数长度 如果无法整除,则返回0,否则返回除数 qp 的长度
引用了 lmmp_cmp_(), lmmp_div_(), lmmp_zero_q_(), n , 以及 numb.
被这些函数引用 lmmp_remove_().
函数调用图:
这是这个函数的调用关系图: