Comment #0 by dlang-bugzilla — 2015-03-31T00:26:19Z
core.bitop.bsf returns an undefined value if its argument is 0. However, it is marked as pure.
The function should either assert that its input is non-zero, or have its pure attribute removed.
Comment #1 by robert.schadek — 2024-12-07T13:35:04Z