mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
c981e151ae
Previously, the following code did not give the expected result. ``` % bin/mruby -e 'p "%08X" % ~(-1 << 16)' "..F0000FFFF" % ruby32 -e 'p "%08X" % ~(-1 << 24)' "00FFFFFF" ``` For information: this problem arises in the process of folding numbers through optimisation.