]> www.ginac.de Git - cln.git/blob - src/float/ffloat/elem/cl_FF_globals.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / ffloat / elem / cl_FF_globals.cc
1 // Global variables for cl_FF.
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 CL_PROVIDE(cl_FF_globals)
7
8 // Specification.
9 #include "cl_FF.h"
10
11
12 // Implementation.
13
14 namespace cln {
15
16 #if !defined(CL_WIDE_POINTERS)
17
18 const cl_FF cl_FF_0 = allocate_ffloat(0); // 0.0f0
19
20 const cl_FF cl_FF_1 = encode_FF(0,1,bit(FF_mant_len)); // 1.0f0
21
22 const cl_FF cl_FF_minus1 = encode_FF(-1,1,bit(FF_mant_len)); // -1.0f0
23
24 #endif
25
26 }  // namespace cln
27
28 CL_PROVIDE_END(cl_FF_globals)