From fdfa0caa46679eef64226144ccb1edd7a96295df Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 26 Aug 2021 12:27:10 +0900 Subject: boxing_word.h: rename configuration macro name. `MRB_WORDBOX_USE_HEAP_FLOAT` instead of `MRB_USE_FLOAT_FULL_PRECISION`. --- include/mrbconf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mrbconf.h') 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 -- cgit v1.2.3