The `mrb_static_assert_powerof2()` macro has been introduced for this purpose.
Attach a file by drag & drop or click to upload