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