Hey all, been a while since I've been here, glad to be back! Anyway, this is a bit off topic to perl, but still related to programming in general; It's a question, but I didn't think it fit in the Seekers section (editors feel free to move it if you disagree). I am planning ahead on doing a mentorship project for next year. I want to do it on the prospect of using the negabinary number system in computer architecture, and how it would effect programming. Now, I have The Art of computer programming, and I got the idea from there (though sadly it is just a sentence, explaining the existance of such a number sytem only--in another book, it is merely a footnote). I have been looking all over the internet, and even in libraries, to no avail, thus I come here.

Do any of you have knowledge of this system? I have racked my head over it, but cannot figure out a boolean gate system of adding numbers together, if any of you know how to do this, I would be very apreciative. Also, in the Art Of Computer Programming, Knuth talks about a computer being built for use with the negabinary system, but doesn't develop anything from that; I was wondering if any of you knew where I could find information about that?

I know this is a lot to ask, but even just a point in the right direction would be helpful; I've exhasted all the means I know of (except for a few nasa-engineers that I know, that I plan to ask shortly), and I would appreciate just the mention of a place to look. Thanks all! P.S. For those who don't know, the negabinary system is almost like binary (base 2), but it is base -2. Thus, the 'columns' read 1,-2,4,-8,16,-32,64 ... instead of 1,2,4,8,16,32,64 ...

The 15 year old, sophmore programmer,
Stephen Rawls


In reply to Negabinary Number System by srawls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.