John Bampton
2022-12-26 20:50:28 +10:00
parent feb6164d8d
commit 1aa2fff1e8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ end
`MRB_USE_FLOAT32`
- When defined single precision floating-point type(C type `float`) is used as `mrb_float`.
- Otherwise, double precision floating-point type(C type `double`) is used as `mrb_float`.
- When defined single-precision floating-point type(C type `float`) is used as `mrb_float`.
- Otherwise, double-precision floating-point type(C type `double`) is used as `mrb_float`.
`MRB_NO_FLOAT`
+1 -1
View File
@@ -60,7 +60,7 @@ Some configuration macro names are changed for consistency (use `MRB_USE_XXX`
| `DISABLE_MIRB_UNDERSCORE` | `MRB_NO_MIRB_UNDERSCORE` |
- `MRB_USE_FLOAT32` is changed from `MRB_USE_FLOAT` to make sure `float` here
means using single precision float, and not the opposite of `MRB_NO_FLOAT`.
means using single-precision float, and not the opposite of `MRB_NO_FLOAT`.
- `MRB_USE_METHOD_T_STRUCT` uses `struct` version of `mrb_method_t`. More
portable but consumes more memory. Turned on by default on 32bit platforms.
- `MRB_` prefix is added to those without.