]> www.ginac.de Git - cln.git/blob - src/float/conv/cl_F_from_F_f.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / conv / cl_F_from_F_f.cc
1 // cl_float().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/float.h"
8
9
10 // Implementation.
11
12 #include "cl_F.h"
13
14 namespace cln {
15
16 const cl_F cl_float (const cl_F& x, float_format_t f)
17 {
18         floatformatcase((uintL)f
19         ,       return cl_F_to_SF(x);
20         ,       return cl_F_to_FF(x);
21         ,       return cl_F_to_DF(x);
22         ,       return cl_F_to_LF(x,len);
23         );
24 }
25
26 }  // namespace cln