]> www.ginac.de Git - cln.git/blob - src/float/transcendental/cl_F_pi_var.cc
* Add support for OpenBSD.
[cln.git] / src / float / transcendental / cl_F_pi_var.cc
1 // cl_SF_pi, cl_FF_pi, cl_DF_pi, cl_LF_pi.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 CL_PROVIDE(cl_F_pi_var)
7
8 // Specification.
9 #include "cl_F_tran.h"
10
11
12 // Implementation.
13
14 #include "cl_DS.h"
15 #include "cl_LF.h"
16 #include "cl_LF_impl.h"
17 #include "cl_F.h"
18
19 namespace cln {
20
21 // Mantisse von pi :
22   static const uintD pi_mantisse [2048/intDsize] =
23     #include "cl_F_pi_var.h"
24
25 cl_LF cl_LF_pi = encode_LF_array(0,2,pi_mantisse,2048/intDsize);
26
27 // Problem: If someone changes free_hook, the destructor of this
28 // will call the new hook, passing it some pointer obtained by the old
29 // malloc_hook. ??
30
31 const cl_SF cl_SF_pi = cl_LF_to_SF(cl_LF_pi);
32 const cl_FF cl_FF_pi = cl_LF_to_FF(cl_LF_pi);
33 const cl_DF cl_DF_pi = cl_LF_to_DF(cl_LF_pi);
34
35 }  // namespace cln
36
37 CL_PROVIDE_END(cl_F_pi_var)