diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-25 14:44:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-25 14:44:43 +0900 |
| commit | 89ea41f15e92006051d443b29b6e8e32f11c68bc (patch) | |
| tree | 426caaddad14e506cb36b6e9790b43a4cf40e300 /mrbgems/mruby-test | |
| parent | c70159b3562e09a37577b4c6913de3ec7b8f06b4 (diff) | |
| download | mruby-89ea41f15e92006051d443b29b6e8e32f11c68bc.tar.gz mruby-89ea41f15e92006051d443b29b6e8e32f11c68bc.zip | |
mrbconf.h: rename a configuration macro for no truncate floats.
Rename `MRB_WORDBOX_USE_HEAP_FLOAT` to `MRB_WORDBOX_NO_FLOAT_TRUNCATE'.
Diffstat (limited to 'mrbgems/mruby-test')
| -rw-r--r-- | mrbgems/mruby-test/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-test/driver.c b/mrbgems/mruby-test/driver.c index e9d9d3d4f..21e272536 100644 --- a/mrbgems/mruby-test/driver.c +++ b/mrbgems/mruby-test/driver.c @@ -222,7 +222,7 @@ mrb_init_test_driver(mrb_state *mrb, mrb_bool verbose) #ifndef MRB_NO_FLOAT #ifdef MRB_USE_FLOAT32 -#ifdef MRB_WORDBOX_USE_HEAP_FLOAT +#ifdef MRB_WORDBOX_NO_FLOAT_TRUNCATE mrb_define_const(mrb, mrbtest, "FLOAT_TOLERANCE", mrb_float_value(mrb, 1e-5)); #else mrb_define_const(mrb, mrbtest, "FLOAT_TOLERANCE", mrb_float_value(mrb, 1e-4)); |
