You're not missing any representation methods allowed by the C
standard, although I'm sure there are many more outlandish ones
out there.
There are non-outlandish (inlandish?) integer representations which
are not allowed by the C standard, too, such as BCD and various
bignum representations. Or representing integers using a different
byte order than the machine's native one - quite common in COBOL
programs, to maintain binary compatibility with data files generated
by mainframe COBOL programs. The Standard mandates a "pure binary"
representation for good reason (consistent behavior across
implementations), but there are often good reasons to employ other
sorts of representations. It's not in the spirit of C to support
those directly (unlike COBOL, which has evolved by tacking on
features to handle whatever the problem of the moment is), which
is fine, but they're not rare.
Really, it's ones'-complement that few people these days are likely
to encounter.
--
Michael Wojcik (e-mail address removed)
Pocket #9: A complete "artificial glen" with rocks, and artificial moon,
and forester's station. Excellent for achieving the effect of the
sublime without going out-of-doors. -- Joe Green