2 Reusable Code Snippet Topics
Remove Filter
|
|
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. |
|
|
Hopefully someone searches this one day and it becomes useful. I never found anything. Below is the vb syntax for combining numbers in the same memory address. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim LngWord As Long = LngMakeWord(Integer.MaxValue, 65489) Dim LoLng As … |
The End.