[Issue 14379] bsf(0) < 0 in loop randomly evaluates to non-zero

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 30 17:21:53 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14379

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I just saw this in the documentation:

"The return value is undefined if v is zero."

So I guess this makes this bug report invalid. However, I think it would be
appropriate if non-release builds had an assert check.

--


More information about the Digitalmars-d-bugs mailing list