1 people like it.
Like the snippet!
Count the number of bits in a bigint (System.Numerics.BigInteger) and a BitArray. Note that version 4 is the fastest.
1: 2: 3: 4: 5: 6: 7: |
|
| Link: | http://fssnip.net/jH |
| Posted: | 12 years ago |
| Author: | Samuel Bosch |
| Tags: | bigint , bits , bit manipulation , bitarray |