]> www.ginac.de Git - cln.git/blob - src/float/conv/cl_F_from_RA.cc
08bc77f18fa10ab28595e23d1bbd34a525f8ef7a
[cln.git] / src / float / conv / cl_F_from_RA.cc
1 // cl_float().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cl_float.h"
8
9
10 // Implementation.
11
12 #include "cl_F.h"
13 #include "cl_SF.h"
14 #include "cl_FF.h"
15 #include "cl_DF.h"
16 #include "cl_LF.h"
17
18 const cl_F cl_float (const cl_RA& x, const cl_F& y)
19 {
20         floattypecase(y
21         ,       return cl_RA_to_SF(x);
22         ,       return cl_RA_to_FF(x);
23         ,       return cl_RA_to_DF(x);
24         ,       return cl_RA_to_LF(x,TheLfloat(y)->len);
25         );
26 }