summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-19 07:53:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:49 +0900
commit5a7cbebc8a1f8a17c0bfe24accf6b91a48f19e0b (patch)
tree55d52e22001452708819585ade71810af29fc5f5 /include/mrbconf.h
parent04fd7af23c10a63fb0167047d7cf16641a799442 (diff)
downloadmruby-5a7cbebc8a1f8a17c0bfe24accf6b91a48f19e0b.tar.gz
mruby-5a7cbebc8a1f8a17c0bfe24accf6b91a48f19e0b.zip
Remove `MRB_NO_FLOAT_INLINE` and `MRB_WBOX_FLOAT_INLINE` configuration.
They are not used from the beginning.
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 159aee48f..249bb72e4 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -45,13 +45,6 @@
#error Cannot define MRB_USE_FLOAT32 and MRB_NO_FLOAT at the same time
#endif
-/* 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) */
@@ -81,9 +74,6 @@
/* represent mrb_value as a word (natural unit of data for the processor) */
//#define MRB_WORD_BOXING
-/* with MRB_WORD_BOXING, embed float values in mrb_value (dropping 2 bit precision) */
-//#define MRB_WBOX_FLOAT_INLINE
-
/* represent mrb_value as a struct; occupies 2 words */
//#define MRB_NO_BOXING