On Apr 22, 2014, at 22:37 , Roland King <email@hidden> wrote:
So if that is a tagged pointer then some of those bits represent the fact it's tagged (the LSB) and what type it is (who knows how many others, possibly the next 3), so if it is an NSNumber representing an integer, the value is shifted up some number of bits, past the tag bits, so the value wouldn't be 83, it might be 5 (>>4), or zero (>>8), or something else.
You were correct, but I missed the significance of what you said until far too late. Sorry.
Greg Parker explained what the bits are, I think, a couple of months ago, but I can't remember where he said it.
|