


























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
this book is good to study and
Typology: Cheat Sheet
1 / 66
This page cannot be seen from the preview
Don't miss anything!
INTRODUCTION
(^) This representation has fixed number of bits for integer part and for fractional part. (^) Can store minimum value is 0000.0001 and maximum value is 9999.9999. (^) There are three parts of a fixed-point number representation: the sign field, integer field, and fractional field. Fixed-Point Representation − We can represent these numbers using: Signed representation: range from -( (k-1) -1) to ( (k-1) -1), for k bits. 1’s complement representation: range from -( (k-1) -1) to ( (k-1) -1), for k bits. 2’s complementation representation: range from -( (k-1) ) to ( (k-1) -1), for k bits.
Example − Assume number is using 32-bit format which reserve 1 bit for the sign, 15 bits for the integer part and 16 bits for the fractional part. Then, -43.625 is represented as following: Where, 0 is used to represent + and 1 is used to represent. 000000000101011 is 15 bit binary value for decimal 43 and 1010000000000000 is 16 bit binary value for fractional 0.625. Fixed-Point Representation cont… −