Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

No Downloads

Total views

257

On SlideShare

0

From Embeds

0

Number of Embeds

3

Shares

0

Downloads

13

Comments

0

Likes

1

No embeds

No notes for slide

- 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

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment