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