]> www.ginac.de Git - cln.git/blob - src/float/input/cl_F_from_string.cc
[build] Move CLN version info into the include/cln/version.h file...
[cln.git] / src / float / input / cl_F_from_string.cc
1 // cl_F (const char *) constructor.
2
3 // General includes.
4 #include "base/cl_sysdep.h"
5
6 // Specification.
7 #include "cln/float_class.h"
8
9
10 // Implementation.
11
12 #include "cln/float.h"
13 #include "cln/input.h"
14 #include "cln/float_io.h"
15
16 namespace cln {
17
18 cl_read_flags cl_F_read_flags = {
19         syntax_float,
20         lsyntax_all,
21         10,
22         { float_format_ffloat, float_format_lfloat_min, true }
23 };
24
25 cl_F::cl_F (const char * string)
26 {
27         pointer = as_cl_private_thing(
28                 read_float(cl_F_read_flags,string,NULL,NULL));
29 }
30
31 }  // namespace cln