]> www.ginac.de Git - cln.git/blob - src/float/base/cl_ieee.h
Initial revision
[cln.git] / src / float / base / cl_ieee.h
1 // IEEE floating-point
2
3 #ifndef _CL_IEEE_H
4 #define _CL_IEEE_H
5
6 // To make sure that cl_ieee.cc is linked in.
7 // NEED_IEEE_FLOATS()
8 #if (defined(linux) || defined(__linux)) // only needed on Linux
9   #define NEED_IEEE_FLOATS()  \
10     CL_REQUIRE(cl_ieee)                                                 \
11     static void* const CONCAT(cl_ieee_dummy_,__LINE__) = &cl_ieee_module;
12 #else
13   #define NEED_IEEE_FLOATS()
14 #endif
15 extern int cl_ieee_module;
16
17 #endif /* _CL_IEEE_H */