Home Forums Article Discussions Article Discussions by Author Discuss content posted by Jonathan Roberts Function to count set bits in a signed integer RE: Function to count set bits in a signed integer
Michael Meierruth
SSChampion
Points: 10051
More actions
April 28, 2015 at 12:14 am
#1793864
Any particular reason for
~CONVERT(bigint, -9223372036854775808)
instead of
CONVERT(bigint, 9223372036854775807)
My Italian keyboard doesn't have this famous tilde characters! :crying:
Oh crap, forgot all about copy/paste. 🙂