From a while back, but still interesting: [Wayback/Archive] Counting the leading zeroes in a binary number with C# [Wayback/Archive] c# – Getting the number of leading 1 bits – Stack Overflow (thanks [Wayback/Archive] Barry Kelly and [Wayback/Archive] SoapBox) Especially the first link explains the algorithm very well and is similar to links referred to from […]
Weiterlesen...