Re: A trick question




"Gio" <giomancer@xxxxxxxxxxxxx> wrote in message
news:ZCwOj.8901$V14.8809@xxxxxxxxxxxxxxxxxxxxxxx
Well, I'd like to thank you all for your answers. Not sure that I
understand them, but I shall study them. :)

You need to study "two's complement arithmetic" which is what your compiler
and computer appears to be using (as opposed to "one's complement
arithmetic" or "sign magnitude"). Search for those terms on the internet.
Then the answers will make sense.

Paul


.



Relevant Pages

  • Re: View challenge
    ... representations of existing data in existing rows. ... Or, is this a good reason for an implementation that supported ala TTM, eg., take the product of the complement of two empty relations and theta join with the desired range? ... [Paul, you're killing me: the complement of nothing, ... do this with query language. ...
    (comp.databases.theory)
  • Re: There will be a massive earthquake soon
    ... Popinjay, 10/21/2007 ... - Paul Popinjay, RGP, Nov 15, 2008 ... Even with a magnitude 7, saying that one will occur in the next week is ... this is the best chance ...
    (rec.gambling.poker)
  • Re: random_number
    ... 36 bits was "the standard" at one point in history. ... Some machines even used sign magnitude (twos complement in other jargons) for symmetric ranges. ...
    (comp.lang.fortran)
  • Re: Serial+power over single coax cable
    ... are orders of magnitude out of whack, ... hire Paul Bennett to resolve it. ... the broken "Reply" link at the bottom of the article. ...
    (comp.arch.embedded)
  • Re: Fast sincos routine
    ... Of the legal integer representations, ones, twos ... >> complement, and sign magnitude, there is always a sign bit ...
    (comp.lang.c)