]> www.ginac.de Git - cln.git/blob - src/float/input/cl_F_from_string.cc
Initial revision
[cln.git] / src / float / input / cl_F_from_string.cc
1 // cl_F (const char *) constructor.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cl_float_class.h"
8
9
10 // Implementation.
11
12 #include "cl_float.h"
13 #include "cl_input.h"
14 #include "cl_float_io.h"
15
16 cl_read_flags cl_F_read_flags = {
17         syntax_float,
18         lsyntax_all,
19         10,
20         { cl_float_format_ffloat, cl_float_format_lfloat_min, cl_true }
21 };
22
23 cl_F::cl_F (const char * string)
24 {
25         pointer = as_cl_private_thing(
26                 read_float(cl_F_read_flags,string,NULL,NULL));
27 }