You can see it at the bottom of the page.
For integers, there's no difference.
Jets are ready: Let's begin with representing 0 in 2's complement (of course there exist many other systems and representations, here I'm referring this specific one), assuming 8-bit, zero is
1111 1111 (flip)
0000 0001 (add one)
---------
0000 0000
taste, I think, if the number of people voting on the jet standard can be considered "personal" :-) If it was going to defer to the private jet standard for the definitions, though, then it could do a proper job of it and contain no detail, as it does in some other cases.
#include
int main()
int a = ...
int b = ...
if (memcmp(&a, &b, sizeof(int)))
// a and b have different representations in memory
}
The language spec does not mention unicorns either.
|