]> www.ginac.de Git - cln.git/blob - include/cln/number_io.h
Add support for x86_64 CPU.
[cln.git] / include / cln / number_io.h
1 // I/O of numbers.
2
3 #ifndef _CL_NUMBER_IO_H
4 #define _CL_NUMBER_IO_H
5
6 #include "cln/io.h"
7 #include "cln/number.h"
8
9 namespace cln {
10
11 // Input.
12
13 // Finish with bad syntax.
14 #ifdef _CL_MACROS_H
15 nonreturning_function(extern, read_number_bad_syntax, (const char * string, const char * string_limit));
16 #else
17 extern void read_number_bad_syntax (const char * string, const char * string_limit);
18 #endif
19
20 // Finish with junk after the number.
21 #ifdef _CL_MACROS_H
22 nonreturning_function(extern, read_number_junk, (const char * string_rest, const char * string, const char * string_limit));
23 #else
24 extern void read_number_junk (const char * string_rest, const char * string, const char * string_limit);
25 #endif
26
27 // Finish with EOF.
28 #ifdef _CL_MACROS_H
29 nonreturning_function(extern, read_number_eof, (void));
30 #else
31 extern void read_number_eof (void);
32 #endif
33
34 struct cl_read_flags;
35
36 }  // namespace cln
37
38 #endif /* _CL_NUMBER_IO_H */