Prev: Probably a range/overflow checking bug in Delphi 2007 compiler.
Next: Lolling at programmers, how many ways are there to create a bitmask? ;) :)
From: Skybuck Flying on 25 May 2010 09:28 I tested it in Delphi 2010 as well... bug seems to be present there as well. Same behaviour there... no range/underflow warnings/exceptions for method 2 for BitCount 16. Bye, Skybuck. |