|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"函数 | |
| void | lmmp_b36_to_chars_ (mp_byte_t *dst, mp_size_t n, bool upper) |
| 36进制数字字节原地转字符 [dst,n]: [0,35] -> ['0'-'9','a'-'z']或['0'-'9','A'-'Z'] | |
| void | lmmp_dec_to_chars_ (mp_byte_t *dst, mp_size_t n) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
36进制数字字节原地转字符 [dst,n]: [0,35] -> ['0'-'9','a'-'z']或['0'-'9','A'-'Z']
| dst | 输入数字字节数组,同时也是字符输出数组 |
| n | 字节数组长度 |
| upper | 大小写选择:true输出大写字母,false输出小写字母 |
在文件 to_chars.c 第 31 行定义.
引用了 lmmp_b36_to_chars_() , 以及 n.
被这些函数引用 lmmp_b36_to_chars_().
Copyright (C) 2026 HJimmyK (Jericho Knox)
十进制数字字节原地转字符 [dst,n]: [0,9] -> ['0','9']
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
Copyright (C) 2026 HJimmyK (Jericho Knox)
| dst | 输入数字字节数组,同时也是字符输出数组 |
| n | 字节数组长度 |
在文件 to_chars.c 第 26 行定义.
引用了 lmmp_dec_to_chars_() , 以及 n.
被这些函数引用 check_decimal_one() , 以及 lmmp_dec_to_chars_().