Merge pull request #454 from Alanscut/float-compare
comparing double value with DBL_EPSILON
This commit is contained in:
5
cJSON.h
5
cJSON.h
@@ -137,11 +137,6 @@ typedef int cJSON_bool;
|
||||
#define CJSON_NESTING_LIMIT 1000
|
||||
#endif
|
||||
|
||||
/* Precision of double variables comparison */
|
||||
#ifndef CJSON_DOUBLE_PRECISION
|
||||
#define CJSON_DOUBLE_PRECISION .0000000000000001
|
||||
#endif
|
||||
|
||||
/* returns the version of cJSON as a string */
|
||||
CJSON_PUBLIC(const char*) cJSON_Version(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user