summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 5d54a1c22..7b29cb0ba 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -42,6 +42,9 @@
#error Cannot define MRB_USE_FLOAT32 and MRB_NO_FLOAT at the same time
#endif
+/* if defined mruby allocates Float objects in the heap to keep full precision if needed */
+//#define MRB_USE_FLOAT_FULL_PRECISION
+
/* add -DMRB_NO_METHOD_CACHE to disable method cache to save memory */
//#define MRB_NO_METHOD_CACHE
/* size of the method cache (need to be the power of 2) */