summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-11-13 20:59:54 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-11-13 20:59:54 +0900
commit1fe722cd780e07195345e5f92984aaeb5026de28 (patch)
tree06366586e069c7803003d815f27dfb8aac596b9f /include
parent4e3df65d6fbfdb434fea6635465cb33e17926185 (diff)
downloadmruby-1fe722cd780e07195345e5f92984aaeb5026de28.tar.gz
mruby-1fe722cd780e07195345e5f92984aaeb5026de28.zip
boxing_word.h: fix the error in the comment [ci skip]
Diffstat (limited to 'include')
-rw-r--r--include/mruby/boxing_word.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mruby/boxing_word.h b/include/mruby/boxing_word.h
index ab1aef36e..3dff13e1a 100644
--- a/include/mruby/boxing_word.h
+++ b/include/mruby/boxing_word.h
@@ -95,13 +95,12 @@ enum mrb_special_consts {
* false : ...0000 0100 (mrb_fixnum(v) != 0)
* true : ...0000 1100
* undef : ...0001 0100
- * symbol: ...SSS1 1100 (use only upper 32-bit as symbol value with MRB_64BIT)
* symbol: ...SSS1 0100 (symbol occupies 20bits)
* fixnum: ...IIII III1
* float : ...FFFF FF10 (22 bit significands; require MRB_64BIT)
* object: ...PPPP P000
*
- * and word boxing without inline float:
+ * and word boxing without inline float (MRB_WORDBOX_NO_FLOAT_TRUNCATE):
* nil : ...0000 0000 (all bits are 0)
* false : ...0000 0100 (mrb_fixnum(v) != 0)
* true : ...0000 1100