Data Representation 1 Lecture 5
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Overview
 Introduction
 Data representation
 Fixed Point Representation
Integer Representation
 Floating Point Representation
Normalization
Data Representation 2 Lecture 5
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Floating Point Representation
The location of the fractional point is not fixed to a certain location
The range of the represent able numbers is wide
F = EM
mn ekek-1 ... e0 mn-1mn-2 … m0 . m-1 … m-m
sign exponent mantissa
- Mantissa
Signed fixed point number, either an integer or a fractional number
- Exponent
Designates the position of the radix point
Decimal Value
V(F) = V(M) * RV(E)
V stands for Value
M: Mantissa
E: Exponent
R: Radix
Data Representation 3 Lecture 5
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Floating Point Representation
Mantissa
0 .1234567 0 04
sign sign
mantissa exponent
==> +.1234567 x 10+04
Example
A binary number +1001.11 in 16-bit floating point number representation
(6-bit exponent and 10-bit fractional mantissa)
0 000100 100111000
0 000101 010011100
Note:
In Floating Point Number representation, only Mantissa(M) and
Exponent(E) are explicitly represented. The Radix(R) and the position of
the Radix Point are implied.
ExponentSign
or
Example
Data Representation 4 Lecture 5
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Floating Point Representation-Normalization
 A Floating Point number is said to be normalized if the
most significant digit of the mantissa is nonzero
E.g. Binary number 00011010 is not normalized

More Related Content

PPTX
Alg II 2-3 and 2-4 Linear Functions
PDF
8 problem solving with the case logic structure
PPT
Lesson 3 angle between two intersecting lines
PPTX
Alg II 2-8 Inequalities
PDF
Weeks idol power_pointtranscript
DOCX
Mc0082 theory of computer science
DOC
02b 1 ma0_1f_-_march_2013_mark_scheme
Alg II 2-3 and 2-4 Linear Functions
8 problem solving with the case logic structure
Lesson 3 angle between two intersecting lines
Alg II 2-8 Inequalities
Weeks idol power_pointtranscript
Mc0082 theory of computer science
02b 1 ma0_1f_-_march_2013_mark_scheme

What's hot (12)

PDF
[ITP - Lecture 05] Datatypes
PPTX
Algebraic expressions and Polynomials
PPTX
Normalization
PPTX
DOCX
Interpretation new
PPTX
Learn About Pi
PDF
Chapter 5 continuity_and_differentiability
PDF
Hill code
PPT
Merge sort
PPTX
Std 10 computer chapter 9 Problems and Problem Solving
DOCX
Scope and sequence , Budget of work ,and Weekly Lesson Plan in Educ.11
[ITP - Lecture 05] Datatypes
Algebraic expressions and Polynomials
Normalization
Interpretation new
Learn About Pi
Chapter 5 continuity_and_differentiability
Hill code
Merge sort
Std 10 computer chapter 9 Problems and Problem Solving
Scope and sequence , Budget of work ,and Weekly Lesson Plan in Educ.11
Ad

More from RahulRathi94 (20)

PPTX
Lecture 47
PPTX
Lecture 46
PPTX
Lecture 44
PPTX
Lecture 43
PPTX
Lecture 42
PPTX
Lecture 41
PPTX
Lecture 40
PPTX
Lecture 39
PPTX
Lecture 38
PPTX
Lecture 37
PPTX
Lecture 36
PPTX
Lecture 35
PPTX
Lecture 34
PPTX
Lecture 28
PPTX
Lecture 27
PPTX
Lecture 26
PPTX
Lecture 25
PPTX
Lecture 24
PPTX
Lecture 23
PPTX
Lecture 22
Lecture 47
Lecture 46
Lecture 44
Lecture 43
Lecture 42
Lecture 41
Lecture 40
Lecture 39
Lecture 38
Lecture 37
Lecture 36
Lecture 35
Lecture 34
Lecture 28
Lecture 27
Lecture 26
Lecture 25
Lecture 24
Lecture 23
Lecture 22
Ad

Lecture 5

  • 1. Data Representation 1 Lecture 5 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Overview  Introduction  Data representation  Fixed Point Representation Integer Representation  Floating Point Representation Normalization
  • 2. Data Representation 2 Lecture 5 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Floating Point Representation The location of the fractional point is not fixed to a certain location The range of the represent able numbers is wide F = EM mn ekek-1 ... e0 mn-1mn-2 … m0 . m-1 … m-m sign exponent mantissa - Mantissa Signed fixed point number, either an integer or a fractional number - Exponent Designates the position of the radix point Decimal Value V(F) = V(M) * RV(E) V stands for Value M: Mantissa E: Exponent R: Radix
  • 3. Data Representation 3 Lecture 5 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Floating Point Representation Mantissa 0 .1234567 0 04 sign sign mantissa exponent ==> +.1234567 x 10+04 Example A binary number +1001.11 in 16-bit floating point number representation (6-bit exponent and 10-bit fractional mantissa) 0 000100 100111000 0 000101 010011100 Note: In Floating Point Number representation, only Mantissa(M) and Exponent(E) are explicitly represented. The Radix(R) and the position of the Radix Point are implied. ExponentSign or Example
  • 4. Data Representation 4 Lecture 5 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Floating Point Representation-Normalization  A Floating Point number is said to be normalized if the most significant digit of the mantissa is nonzero E.g. Binary number 00011010 is not normalized