|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
宏定义 | |
| #define | LIMB_B_2 (0x8000000000000000ull) |
| #define | LIMB_B_4 (0x4000000000000000ull) |
| #define | LIMB_B_8 (0x2000000000000000ull) |
| #define | LMMP_DEFAULT_STACK_SIZE (320 * 1024) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| #define | LMMP_POOL_SIZE (512 * 1024) |
| #define | MP_CHAR_BITS (8) |
| #define | MP_CHAR_BYTES (1) |
| #define | MP_INT_BITS (32) |
| #define | MP_INT_BYTES (4) |
| #define | MP_LONG_BITS (64) |
| #define | MP_LONG_BYTES (8) |
| #define | MP_SHORT_BITS (16) |
| #define | MP_SHORT_BYTES (2) |
| #define | MP_SIZE_MAX ((mp_size_t)0xffffffffffffffffULL) |
| #define | MP_UCHAR_MAX (0xff) |
| #define | MP_UINT_MAX (0xffffffff) |
| #define | MP_ULONG_MAX (0xffffffffffffffffull) |
| #define | MP_USHORT_MAX (0xffff) |
| #define LIMB_B_2 (0x8000000000000000ull) |
被这些函数引用 bench_div_1_s(), bench_div_2(), bench_div_2_s(), bench_div_3_2(), bench_inv_1(), bench_inv_2_1(), bench_mod_2(), lmmp_bninv_appr_newton_(), lmmp_div_basecase_(), lmmp_div_divide_(), lmmp_div_divide_n_(), lmmp_div_mulinv_(), lmmp_div_s_(), lmmp_inv_basecase_(), lmmp_inv_prediv_(), lmmp_invappr_newton_(), lmmp_pow_basecase_(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE() , 以及 TEST_CASE().
| #define LIMB_B_4 (0x4000000000000000ull) |
| #define LIMB_B_8 (0x2000000000000000ull) |
被这些函数引用 lmmp_cbrt_newton_(), lmmp_cbrt_snorm_() , 以及 lmmp_invcbrt_newton_().
| #define LMMP_DEFAULT_STACK_SIZE (320 * 1024) |
Copyright (C) 2026 HJimmyK (Jericho Knox)
This file is part of LMMP.
LMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see https://www.gnu.org/licenses/.
SPDX-License-Identifier: LGPL-3.0-or-later
被这些函数引用 lmmp_stack_init().
| #define LMMP_POOL_SIZE (512 * 1024) |
被这些函数引用 stack_init_default_().
| #define MP_SIZE_MAX ((mp_size_t)0xffffffffffffffffULL) |
被这些函数引用 floor1_u64(), lmmp_pow_1_size_() , 以及 lmmp_pow_size_().
| #define MP_UCHAR_MAX (0xff) |
被这些函数引用 _odd_pow_(), lmmp_odd_nPr_ushort_(), lmmp_pow_1_() , 以及 lmmp_u8_pow_1_().
| #define MP_UINT_MAX (0xffffffff) |
被这些函数引用 factor_size_int(), factor_size_int(), lmmp_arith_seqprod_(), lmmp_factors_mul_(), lmmp_is_prime_ulong_(), lmmp_is_prime_ulong_notrial_(), lmmp_multinomial_size_(), lmmp_nCr_size_(), lmmp_nPr_size_(), lmmp_odd_nPr_product_(), lmmp_odd_nPr_product_(), lmmp_pow_1_(), lmmp_powmod_ulong_odd_(), lmmp_prime_int_table_init_(), lmmp_primefac_(), lmmp_u32_pow_1_() , 以及 lmmp_u64_pow_1_().
| #define MP_ULONG_MAX (0xffffffffffffffffull) |
| #define MP_USHORT_MAX (0xffff) |