Start a new console application and fill in the about 70 lines of code in the Program.cs file. Run and enjoy!
|+2 forum 8|
These two functions compute the orders of the lowest bit and the highest bit set in the binary representation of an integer. I expect them to handle securely very large integer values.
|+1 forum 3|
This snippet defines a function [icode]a2bits[/icode] which converts a characters string to a string of 0's and 1's showing its bitwise representation.
|+0 forum 2|