diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-26 12:27:10 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-26 16:06:01 +0900 |
| commit | fdfa0caa46679eef64226144ccb1edd7a96295df (patch) | |
| tree | 8888e3c84305229304e073147ad69ac6583301b5 /include/mrbconf.h | |
| parent | e9c6e52f5b8aa42cb4a8d67d5a98ee8daf74e997 (diff) | |
| download | mruby-fdfa0caa46679eef64226144ccb1edd7a96295df.tar.gz mruby-fdfa0caa46679eef64226144ccb1edd7a96295df.zip | |
boxing_word.h: rename configuration macro name.
`MRB_WORDBOX_USE_HEAP_FLOAT` instead of `MRB_USE_FLOAT_FULL_PRECISION`.
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index eda158d5e..df3f2989e 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -42,9 +42,6 @@ #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) */ @@ -82,6 +79,9 @@ # define MRB_WORD_BOXING #endif +/* if defined mruby allocates Float objects in the heap to keep full precision if needed */ +//#define MRB_WORDBOX_USE_HEAP_FLOAT + /* add -DMRB_INT32 to use 32bit integer for mrb_int; conflict with MRB_INT64; Default for 32-bit CPU mode. */ //#define MRB_INT32 |
