I am working on a few hex conversion functions
I am wondering about AutoHotkey negative hex values.
Is -0xfa the 16's complement of 0xfa or is -0xfa it the 15's complement of 0xfa
I am thinking it is the 15's complement so to convert to positive hex
-0xfa converts to 0xf9 as 15's complement and 0xfa as 16's complement.
Am I correct on this?
My Functions are going to work with string rather then numbers so I may be working with numbers greater then 0xFFFFFFFF (big ints and stuff)
Get help with using AutoHotkey and its commands and hotkeys
1 post • Page 1 of 1