|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
#include "../../../include/lammp/impl/ele_mul.h"#include "../../../include/lammp/impl/inlines.h"#include "../../../include/lammp/impl/lglg.h"#include "../../../include/lammp/impl/mparam.h"#include "../../../include/lammp/impl/prime_table.h"#include "../../../include/lammp/impl/tmp_alloc.h"#include "../../../include/lammp/lmmpn.h"#include "../../../include/lammp/numth.h"
factorial.c 的引用(Include)关系图:宏定义 | |
| #define | MAX_T 0xffffffffffff |
| #define | MUL(dst, ap, an, bp, bn) |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
| #define | mul_1(dst, rn, v) |
| #define MAX_T 0xffffffffffff |
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/.
在文件 factorial.c 第 26 行定义.
在文件 factorial.c 第 192 行定义.
引用了 LIMB_BITS, lmmp_odd_factorial_uint_(), lmmp_odd_nPr_ushort_(), lmmp_param_assert, lmmp_shl_(), lmmp_zero, n , 以及 NPR_SHORT_LIMIT.
函数调用图:| mp_size_t lmmp_factorial_size_ | ( | uint | n, |
| mp_bitcnt_t *restrict | bits | ||
| ) |
在文件 factorial.c 第 40 行定义.
引用了 LIMB_BITS, lmmp_limb_popcnt_, log2_fac_ceil() , 以及 n.
函数调用图:| mp_size_t lmmp_factors_mul_ | ( | mp_ptr restrict | dst, |
| mp_size_t | rn, | ||
| fac_ptr restrict | fac, | ||
| uint | nfactors | ||
| ) |
在文件 factorial.c 第 60 行定义.
引用了 BALLOC_TYPE, FACTORS_MUL_N_THRESHOLD, lmmp_copy, lmmp_debug_assert, lmmp_elem_mul_ulong_(), lmmp_factors_mul_(), lmmp_param_assert, lmmp_sqr_, MAX_T, MP_UINT_MAX, MP_USHORT_MAX, MUL, mul_1, n, t, TALLOC_TYPE, TEMP_DECL, TEMP_FREE , 以及 tp.
被这些函数引用 lmmp_factors_mul_() , 以及 lmmp_odd_factorial_uint_().
函数调用图:
这是这个函数的调用关系图:在文件 factorial.c 第 164 行定义.
引用了 BALLOC_TYPE, count_factors(), lmmp_factors_mul_(), lmmp_param_assert, lmmp_prime_cache_free_(), lmmp_prime_cache_init_(), lmmp_prime_cache_next_(), lmmp_prime_int_table_init_(), lmmp_prime_size_(), MP_USHORT_MAX, n, TEMP_B_DECL , 以及 TEMP_B_FREE.
被这些函数引用 lmmp_factorial_().
函数调用图:
这是这个函数的调用关系图: