Re: Signed Hex Values
- Posted by DerekParnell (admin) Sep 23, 2013
- 1537 views
petelomax said...
A proposed change ...
Signed Hex Values
Why is this a good idea? What's the advantage, etc ...
If adopted, following the same logic, we'd also have to allow the following combinations ...
+#-FFFFFFFF -- -1 -#-FFFFFFFF -- +4294967295 +#+FFFFFFFF -- +4294967295 -#+FFFFFFFF -- -1
petelomax said...
The #- directive triggers a compilation error if the following hexadecimal constant is not 2, 4, or 8 characters, or 16 in 64-bit code.
Why have this restriction?
And what about binary literals and hex values inside strings?