memory

Original code (Sign and Magnitude) said:

① represents an integer's complement

② floating point mantissa is represented by the original fixed-point decimal code

③0 representation is not unique, it is not conducive to the programmer programming
④ addition, subtraction calculation method is not uniform

Complement - modulo operation (operation Modular)

① a negative two's complement is equal to the absolute value of negative Save mode
② for determining a modulus, a number less than minus another mode, the total number may be used together with other complement negative number instead.

Unified - and +: ③ complement (Modular arithmetic)

The computer system operation is a modulo operation

Complement of a negative number is equal to the complement of the corresponding positive

Members negated, the last one plus one

Twos complement of the true value

Evaluation in a Simple:
the symbol is 0, a positive number, the same value as part of
symbol 1, was negative, the value you negated, end plus 1

image

1010101

        +1

0101010

Frameshift represents Excess (biased) notion

What is a frameshift represent?
Each of value plus a constant offset (Excess / bias)

Why frameshift expressed Index (order code)?

Order to facilitate the floating point subtraction operation (compare the size)

Guess you like

Origin www.cnblogs.com/LinQingYang/p/11682044.html