fennec
Loading...
Searching...
No Matches
charconv.h
Go to the documentation of this file.
1// =====================================================================================================================
2// fennec, a free and open source game engine
3// Copyright © 2025 Medusa Slockbower
4//
5// This program is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program. If not, see <https://www.gnu.org/licenses/>.
17// =====================================================================================================================
18
30
31#ifndef FENNEC_FORMAT_CHARCONV_H
32#define FENNEC_FORMAT_CHARCONV_H
33
34namespace fennec
35{
36
37char* to_chars(char* first, char* last, char x, int base);
38char* to_chars(char* first, char* last, signed char x, int base);
39char* to_chars(char* first, char* last, unsigned char x, int base);
40
41char* to_chars(char* first, char* last, signed short x, int base);
42char* to_chars(char* first, char* last, unsigned short x, int base);
43
44char* to_chars(char* first, char* last, signed int x, int base);
45char* to_chars(char* first, char* last, unsigned int x, int base);
46
47char* to_chars(char* first, char* last, signed long x, int base);
48char* to_chars(char* first, char* last, unsigned long x, int base);
49
50char* to_chars(char* first, char* last, signed long long x, int base);
51char* to_chars(char* first, char* last, unsigned long long x, int base);
52
53char* to_chars(char* first, char* last, signed long long x, int base);
54char* to_chars(char* first, char* last, unsigned long long x, int base);
55
56char* to_chars(char* first, char* last, float x);
57char* to_chars(char* first, char* last, float x, char fmt);
58char* to_chars(char* first, char* last, float x, char fmt, int precision);
59
60char* to_chars(char* first, char* last, double x);
61char* to_chars(char* first, char* last, double x, char fmt);
62char* to_chars(char* first, char* last, double x, char fmt, int precision);
63
64
65}
66
67#endif // FENNEC_FORMAT_CHARCONV_H