computer architecture

    [컴퓨터구조] Data Representation

    🤔 Data Representation 이 장에서는 컴퓨터가 어떤 식으로 연산을 진행하는지에 대해 배워보겠습니다. Complements, Fixed-Point Representation, Floating-Point Representation, Error Detection Codes등에 대해 배웁니다. 🔎 Complements 컴퓨터에서 뺄셈과 논리 연산을 쉽게 하기 위해서 보수가 사용됩니다. (r-1)의 보수 연산은 아래의 식과 같습니다. $$ N = (r^n - 1) - N$$ 예를 들어 9의 보수와 1의 보수는 아래와 같습니다. $$(10^n - 1) - N$$ $$(2^n - 1) - N$$ 다양한 보수 연산들이 있지만 Computer Science에서 가장 중요한 2의 보수를 중점적으로 다루도록 ..