Merge pull request #3794 from dabroz/fix-flt-epsilon

Fix building with MRB_USE_FLOAT=1
This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-08-26 22:29:00 +09:00
committed by GitHub
+3
View File
@@ -65,6 +65,9 @@
#include "mrbconf.h"
#ifndef FLT_EPSILON
#define FLT_EPSILON (1.19209290e-07f)
#endif
#ifndef DBL_EPSILON
#define DBL_EPSILON ((double)2.22044604925031308085e-16L)
#endif