2/ AHA! > p (1 << 60) 0 > p sizeof(1 << 60) 4 ...but ...
-
-
Show this thread
-
3/ > p/x (((uint64_t) 1) << 60) 0x1000000000000000 > p sizeof(((uint64_t) 1) << 60) 8
Show this thread -
4/ the problem is that when you use "1" gdb puts that in a 4 byte int, and then when you << 60, it doesn't do magic this is ...reasonable
Show this thread
End of conversation
New conversation -
-
-
This Tweet is unavailable.
-
> hmmmm something odd there yes, that's why I said "silently" !!! p (1 << 60) p sizeof(1 << 60)
- Show replies
-
-
-
Farg!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.