summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-29 08:34:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:22 +0900
commit3d8a38bea4de5ca3a65ec9bce9359b9c62326f9f (patch)
tree3f8ebdcc96896f7cdde31064026ffa588c77776d /include/mrbconf.h
parent639946a006c29f648551512af8aa0bb0cd969412 (diff)
downloadmruby-3d8a38bea4de5ca3a65ec9bce9359b9c62326f9f.tar.gz
mruby-3d8a38bea4de5ca3a65ec9bce9359b9c62326f9f.zip
You don't need to keep index in local variables info in `irep`.
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 81ab36977..1cf72ece9 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -31,6 +31,13 @@
/* exclude floating point numbers */
//#define MRB_WITHOUT_FLOAT
+/* stop inlining floating point numbers in mrb_value (effective only with MRB_WORD_BOXING)*/
+/* floating numbers are rounded to fit in 30 bits (float) and 62 bits respectively, */
+/* by inlining. If you need full precision of floating numbers on the platform, */
+/* you have to define this option. when mrb_int is 32bit and mrb_float is double, */
+/* this option is set automatically. */
+// #define MRB_NO_FLOAT_INLINE
+
/* 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) */