Signed int -0 ?

  • Thread starter Christian Stigen Larsen
  • Start date
R

Ron Natalie

Alexander Terekhov said:
Ron Natalie wrote:
[...]
Got me. I've never understood why they were suddenly enumerated
in C99. To my knowledge I've never worked on a signed-mag machine
and I haven't been near a 1's complement machine in over a decade.

How about offset binary (aka "Excess-K"), various BCD schemes, uhmm,
and "gray code"? ;-)
These aren't legal in C++ because they don't share the postitve number
representation with the unsigned.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,102
Messages
2,570,646
Members
47,247
Latest member
GabrieleL2

Latest Threads

Top