]> www.ginac.de Git - cln.git/blob - src/float/conv/cl_F_from_F.cc
Use paths relative the `src' directory in the #include directives.
[cln.git] / src / float / conv / cl_F_from_F.cc
1 // cl_float().
2
3 // General includes.
4 #include "base/cl_sysdep.h"
5
6 // Specification.
7 #include "cln/float.h"
8
9
10 // Implementation.
11
12 #include "float/cl_F.h"
13 #include "float/lfloat/cl_LF.h"
14
15 namespace cln {
16
17 const cl_F cl_float (const cl_F& x, const cl_F& y)
18 {
19         floattypecase(y
20         ,       return cl_F_to_SF(x);
21         ,       return cl_F_to_FF(x);
22         ,       return cl_F_to_DF(x);
23         ,       return cl_F_to_LF(x,TheLfloat(y)->len);
24         );
25 }
26
27 }  // namespace cln