Question

In: Computer Science

Store -2.75 in Tiny Floating Point form.

Store -2.75 in Tiny Floating Point form.

Solutions

Expert Solution

11000011

Explanation:
-------------
Tiny Floating Point form is of 8 bits.
1 sign bit, 4 exponent bits, 3 mantissa bits.

-2.75
Converting 2.75 to binary
   Convert decimal part first, then the fractional part
   > First convert 2 to binary
   Divide 2 successively by 2 until the quotient is 0
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 10
   So, 2 of decimal is 10 in binary
   > Now, Convert 0.75000000 to binary
      > Multiply 0.75000000 with 2.  Since 1.50000000 is >= 1. then add 1 to result
      > Multiply 0.50000000 with 2.  Since 1.00000000 is >= 1. then add 1 to result
      > This is equal to 1, so, stop calculating
   0.75 of decimal is .11 in binary
   so, 2.75 in binary is 00000010.11
-2.75 in simple binary => 10.11
so, -2.75 in normal binary is 10.11 => 1.011 * 2^1

8-bit format:
--------------------
sign bit is 1(-ve)
exponent bits are (7+1=8) => 1000
   Divide 8 successively by 2 until the quotient is 0
      > 8/2 = 4, remainder is 0
      > 4/2 = 2, remainder is 0
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 1000
   So, 8 of decimal is 1000 in binary
frac/significant bits are 011

so, -2.75 in 8-bit format is 1 1000 011

Related Solutions

Find the double precision floating point for -0.115. Put it in hexadecimal form.
Find the double precision floating point for -0.115. Put it in hexadecimal form.
In this question, you are provided with an IEEE-754 floating-point number in the form of 8...
In this question, you are provided with an IEEE-754 floating-point number in the form of 8 hexadecimal digits. You are asked to decode this value into its decimal representation. You MUST report your answer as a real number. Do NOT use scientific notation. Do NOT round or truncate your answer. Do NOT add any spaces or commas to your answer. If the converted number is positive, do NOT add the plus sign. Convert, i.e., decode, 0x48801002 from the 32-bit single-precision...
Consider the following 32-bit floating point representation based on the IEEE floating point standard: There is...
Consider the following 32-bit floating point representation based on the IEEE floating point standard: There is a sign bit in the most significant bit. The next eight bits are the exponent, and the exponent bias is 28-1-1 = 127. The last 23 bits are the fraction bits. The representation encodes number of the form V = (-1)S x M x 2E, where S is the sign, M is the significand, and E is the biased exponent. The rules for the...
Assume that you have a 12-bit floating point number system, similar to the IEEE floating point...
Assume that you have a 12-bit floating point number system, similar to the IEEE floating point standard, with the format shown below and a bias of 7. The value of a floating point number in this system is represented as    FP = (-1)^S X 1.F X 2^(E-bias) for the floating point numbers A = 8.75 and B = -5.375. The binary representation of A is given as A = 0101 0000 1100 Show the hexidecimal representation of B.
Using the simple model for representing binary floating point numbers A floating-point number is 14 bits...
Using the simple model for representing binary floating point numbers A floating-point number is 14 bits in length. The exponent field is 5 bits. The significand field is 8 bits. The bias is 15 Represent -32.5010 in the simple model.
verilog code to implement 32 bit Floating Point Adder in Verilog using IEEE 754 floating point...
verilog code to implement 32 bit Floating Point Adder in Verilog using IEEE 754 floating point representation.
Convert the following floating-point number (stored using IEEE floating-point standard 754) to a binary number in...
Convert the following floating-point number (stored using IEEE floating-point standard 754) to a binary number in non-standard form. 0100_0001_1110_0010_1000_0000_0000_0000
Assume grooved brain coral requires sunlight, a high concentration of zooplankton (tiny floating organisms) in the...
Assume grooved brain coral requires sunlight, a high concentration of zooplankton (tiny floating organisms) in the water every evening, an open, solid place to attach that is close (not more than 3 meters underwater) to the surface, water temperature between 65 and 85 degrees F, and a water pH between 8.1 and 8.4. Aside from its early life as a tiny larva seeking an attachment site, coral has a sedentary lifestyle. During the day, its photosynthetic symbionts produce sugars and...
The Tiny Toy Company makes three types of new toys: the tiny tank, the tiny truck,...
The Tiny Toy Company makes three types of new toys: the tiny tank, the tiny truck, and the tiny turtle. Plastic used in one unit of each is 1.5, 2.0 and 1.0 pounds, respectively. Rubber for one unit of each toy is 0.5, 0.5, and 1.0 pounds, respectively. Also, each tank uses 0.3 pounds of metal and the truck uses 0.6 pounds of metal during production. The average weekly availability for plastic is 16,000 pounds, 9,000 pounds of metal, and...
Convert the following numbers to floating point and show work. -0.063 65.3
Convert the following numbers to floating point and show work. -0.063 65.3
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT