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