HF RL Explorer

NextClear returns incorrect results for bitsets with all bits set

NextClear returns incorrect results for bitsets with all bits set: a task in UltraTerminal (Harbor dataset). When calling NextClear on a bitset where all bits are set, the function returns unexpected values instead of properly indicating that no clear bits exist within the bitset bounds.

The task

When calling `NextClear` on a bitset where all bits are set, the function returns unexpected values instead of properly indicating that no clear bits exist within the bitset bounds.

Part of harness-hub/UltraTerminal.