bufferkdtree (C sources)
C source code for the Python bufferkdtree implementation
 All Classes Files Functions Variables Typedefs Macros
float.h
Go to the documentation of this file.
1 /*
2  * float.h
3  *
4  * Copyright (C) 2013-2016 Fabian Gieseke <fabian.gieseke@di.ku.dk>
5  * License: GPL v2
6  *
7  */
8 #ifndef INCLUDE_FLOAT_H_
9 #define INCLUDE_FLOAT_H_
10 
11 #if USE_DOUBLE > 0
12 #define FLOAT_TYPE double
13 #define PARSE_FLOAT strtod
14 #define MAX_FLOAT_TYPE 1.7976931348623158e+308
15 #define MIN_FLOAT_TYPE -1.7976931348623158e+308
16 #else
17 #define FLOAT_TYPE float
18 #define PARSE_FLOAT strtof
19 #define MAX_FLOAT_TYPE 3.402823466e+38
20 #define MIN_FLOAT_TYPE -3.402823466e+38
21 #endif
22 
23 #endif /* INCLUDE_FLOAT_H_ */