|
|
|
|
Browse by Tags
All Tags » SQL » bit twiddling » code (RSS)
-
Someone posted a question to the SQL Server forum the other day asking how to count runs of zero bits in an integer using SQL. Basically the poster wanted to know how to efficiently determine the longest contiguous string of zero-bits (known as a run of bits) in any given 32-bit integer. Here are a couple ...
|
|
|
|
|