HologramDepthmap Library
real.h
Go to the documentation of this file.
1 #ifndef __real_h
2 #define __real_h
3 
4 typedef double real;
5 typedef float real_t;
6 
7 #define REAL_T_IS_FLOAT 1
8 
9 namespace graphics {
10 
11 #ifndef _MAXFLOAT
12 #define _MAXFLOAT ((float)3.40282347e+38)
13 #endif
14 
15 #ifndef _MAXDOUBLE
16 #define _MAXDOUBLE ((double)1.7976931348623158e+308)
17 #endif
18 
19 #define _MINFLOAT ((float)1.17549435e-38)
20 #define _MINDOUBLE ((double)2.2250738585072014e-308)
21 
22 #ifndef M_PI
23 #define M_PI 3.141592653589793238462643383279502884197169399375105820974944592308
24 #endif
25 
26 #define MINREAL _MINDOUBLE;
27 #define MAXREAL _MAXDOUBLE;
28 
29 
30 };
31 
32 #endif
double real
Definition: real.h:4
float real_t
Definition: real.h:5