Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1) IEEE 754 Floating Point Standard: This standard is used to represent floating-point numbers (real numbers) digitally in computer memory. The standard provides two representations
1) IEEE 754 Floating Point Standard: This standard is used to represent floating-point numbers (real numbers) digitally in computer memory. The standard provides two representations which have different accuracies: double precision and single precision. Double Precision - 8bytes = 64 bits o Bit 63 (one bit): Sign (0-positive, 1-negative) Bits 62 to 52 (11 bits): Exponent, biased by 1023 o Bits 51 to 0 (52 bits): Fraction f of the number 1.f Single Precision - 4bytes - 32 bits o Bit 31 (one bit): Sign (O positive, 1-negative) Bits 30 to 23 (8 bits): Exponent, biased by 127 Bits 22 to 0 (23 bits): Fraction f of the number 1.f Procedure to Find the Double-Precision Representation of a Number : Let the representation be (663,662, ..., bz,b2, b) with 563 being the most significant bit and b, being the least significant bit. Sign Bit: bo = G, x 20 x 1 { set new bit as 1 yry-1 } else { set new bit as 0 } } c) Convert the representation back to decimal as follows: Obtain the sign s E {+1,-1} from the bit b63. 1) IEEE 754 Floating Point Standard: This standard is used to represent floating-point numbers (real numbers) digitally in computer memory. The standard provides two representations which have different accuracies: double precision and single precision. Double Precision - 8bytes = 64 bits o Bit 63 (one bit): Sign (0-positive, 1-negative) Bits 62 to 52 (11 bits): Exponent, biased by 1023 o Bits 51 to 0 (52 bits): Fraction f of the number 1.f Single Precision - 4bytes - 32 bits o Bit 31 (one bit): Sign (O positive, 1-negative) Bits 30 to 23 (8 bits): Exponent, biased by 127 Bits 22 to 0 (23 bits): Fraction f of the number 1.f Procedure to Find the Double-Precision Representation of a Number : Let the representation be (663,662, ..., bz,b2, b) with 563 being the most significant bit and b, being the least significant bit. Sign Bit: bo = G, x 20 x 1 { set new bit as 1 yry-1 } else { set new bit as 0 } } c) Convert the representation back to decimal as follows: Obtain the sign s E {+1,-1} from the bit b63
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started