ana.words, mathematik -0 + -0 = -0

ana.words, mathematik -0 + -0 = -0
12. November 2002 mahal
In Allgemein
UNIVAC 1100 machines used one's complement
representation of negative numbers, as opposed to
the two's complement form almost universal today.
In one's complement, where zero is a signed number,
you have not only zero, but minus zero to contend
with. This document explores various
representations of negative numbers and describes
some of the bizarre consequences and applications
of minus zero.

Most computers today use two's complement
representation for negative integer numbers. The
UNIVAC® 1100 family, however, used one's
complement.

dies fuehrt zu einem negativen 0.

die operationen dazu lauten:

Minus Zero Logic
+0 + +0 = +0 
+0 + -0 = +0 
-0 + +0 = +0 
-0 + -0 = -0 
+0 - +0 = +0 
+0 - -0 = +0 
-0 - +0 = -0 
-0 - -0 = +0 

das einerkomplement hat auf hardwareebene den
vorteil, dass es einige transistoren /
elementarentscheidungen weniger benoetigt um das
vorzeichen jederzeit evaluieren zu koennen.

den ganzen technischen artikel findet ihr auf:
http://www.fourmilab.ch/documents/univac/minuszero.
html

mahal


-- = --    -- = --    -- = --     

a n a . w o r d s
      aus dem hellblauen salon

words@ana.ch
http://ana.ch/words/
ana.txt seite 444

      reicht ana.words weiter!


                               _____________
                         ________________________
                      ______________________________
                   ____________________________________
                 ________________________________________
               _____________________     __________________
              ____________________        ___________________
            ______________________         ___________________
           ______________________          _____________________
          ____________________               ____________________
        ______________________               __      _____________
       ____________                                         _______
      _________                                          ___________
      _______                                          ______________
     ______                                         _________________
    ______    ________                            ____________________
    _____________________                        ______________________
   ____________________     ___                ________________________
  ____________________    ______                ________________________
  __________________     _______           __    _______________________
  __________________     ________          ___   ________________________
 ____________________      ______           _    ________________________
 ______________________      ____              __________________________
 _________________________     __             ____________________________
 _____________________________                ____________________________
_______________________________               ____________________________
_______________________________               ____________________________
_______________________________                ___________________________
_______________________________                ___________________________
_______________________________                ___________________________
______________________________                 ___________________________
 _____________________________                 ___________________________
 ____________________________                 ____________________________
 ____________________________         _       ___________________________
 ____________________________        __       ___________________________
  ___________________________       ____      ___________________________
  ___________________________      _____     ___________________________
  __________________________      _______    ___________________________
   _________________________      ______     __________________________
   ________________________     ________     __________________________
    ______________________ __ __________   ___________________________
     ______________________  _ _________ __  ________________________
      ___________________      ___________   ________________________
      ___________________     ___________     ______________________
       __________________    _____________    _____________________
        _________________    _____________    ____________________
          ______________    ______________    ___________________
           _____________   _______________    __________________
            ____________   ________________   ________________
              __________    ______________      _____________
               ________     ______________        _________
                 _______    _____________________    ____
                   ______  ____________________________
                      _______________________________
                         ________________________
                              ______________

best viewed in a fixed-width font such as monaco or courier