Commit ccd55542 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

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

Fix building with MRB_USE_FLOAT=1
parents 85a400e4 01b9b719
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment