@nobu Thank you for pointing that out. I fixed it by using rb_bool_expected in https://github.com/ruby/ruby/pull/19880 Please check the patch when you have timehasumikin (hitoshi hasumi)
Thank you for the acceptance. Before the merge, I want to narrow one point of the contract: the `bit` argument accepts only `0` and `1`, and no longer `true` and `false`. ### Reason: negative logic `0` and `1` are the values of a b...hasumikin (hitoshi hasumi)
PR: (WIP) This is a reply to the request of Matz for a writer that corresponds to `bit_get` (#22483#note-6). The main question is a value that is wider than the region, and the section after the contracts compares the two answers. ...hasumikin (hitoshi hasumi)
> could you propose bit_put in a separate ticket, including the behavior when the value does not fit in the region? I'd like to settle it before the release. Thank you, I will do it in a few dayshasumikin (hitoshi hasumi)
@mame As already noted in this ticket, I believe `bit_put` is the appropriate counterpart to `bit_get`. In my view, `bit_set` should remain as it is. Regarding `bit_put`, I decided not to include it in the current proposal because of a...hasumikin (hitoshi hasumi)
- [Feature #22482] String#bit_index, a bit search for String bit operations (hasumikin) - This is an alternative feature to #22399 and #22405 - Is the addition of this new method, as well as its name and arguments, acceptable? - [...hasumikin (hitoshi hasumi)
PR: https://github.com/ruby/ruby/pull/19749 This ticket completes the region arguments of #22279 for `bit_get`. #22279 added the `(offset, length)` and `range` forms to `bit_set`, `bit_clear`, `bit_flip` and `bit_count`, and the commi...hasumikin (hitoshi hasumi)
PR: https://github.com/ruby/ruby/pull/19750 This is a reply to the comment of Matz in #22399#note-3. It replaces the seven methods of #22399 and #22405 with one search method. The deferred methods can be written on top of it in Ruby, ...hasumikin (hitoshi hasumi)
The constant pool starts at source size / 120 entries, 4 at the least, and doubles at a load of 3/4; each outgrown pair of arrays stays in the metadata arena. An embedder that interns a fixed set of names into the pool at every parse (mr...hasumikin (hitoshi hasumi)
61ebe5123 made defines.h include <sys/types.h> ahead of <inttypes.h>: with an arm-none-eabi toolchain whose <stdint.h> is GCC's own, newlib's <inttypes.h> never sees the marker it tests before defining the 64-bit PRI macros, and PRIu64 g...hasumikin (hitoshi hasumi)