Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions