]> www.ginac.de Git - cln.git/blob - src/float/conv/cl_F_to_double.cc
Initial revision
[cln.git] / src / float / conv / cl_F_to_double.cc
1 // cl_F_to_double().
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_sfloat.h"
14 #include "cl_ffloat.h"
15 #include "cl_dfloat.h"
16 #include "cl_lfloat.h"
17
18 double cl_double_approx (const cl_F& x)
19 {
20         floatcase(x
21         ,       return cl_double_approx(x);
22         ,       return cl_double_approx(x);
23         ,       return cl_double_approx(x);
24         ,       return cl_double_approx(x);
25         );
26 }