Question
Asked Oct 16, 2019

what are the mantissa and exponent values if 6.75 is represented in 8-bit binary floating point representation?

check_circleExpert Solution

Conversion of decimal to 8-bit floating point representation:

Step 1: Convert the integer part of the decimal value to binary value.

  • 6(10) = 110(2)

Step 2: Convert the fractional part of decimal value to binary value.

  • 75*2 = 1.50; here, get the integer part “1” and continue with fractional part.
  • 5*2 = 1.0; here, get the integer part “1” and stop. Since, nothing remains in fractional part.
  • Thus, 0.75(10) = 0.11(2)

Step 3: Write the whole decimal value as binary value.

  • 75(10) = 110.11(2)

Step 4: Add an exponential part.

  • 11(2) = 110.11(2) * 20

Step 5: Normalize the value.

  • 11(2) * 20 = 1.1011 * 2442

Step 6: Get mantissa.

  • The fractional part in the normalized value is the mantissa.
  • Thus, “1011” is the mantissa.

Step 7: Compute exponent.

  • Add “3” to the power value.
  • 3+2 is 5 and is “101”...

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour*

See Solution
*Response times may vary by subject and question
Tagged in

Engineering

Computer Science

Related Computer Science Q&A

Find answers to questions asked by student like you

Show more Q&A add
question_answer

Q: Why is it important to change bios?

A: Basic Input Output System (BIOS)BIOS is used as a basic standard firmware for motherboards.When comp...

question_answer

Q: in python Create a new Python program (you choose the filename) that contains a main function and an...

A: Create a main function in the program.Create an empty list, the name of the list is randomNumber.Use...

question_answer

Q: Question 9: Consider the following: Class Course { protected: long CRN public: Course( long c ); }; ...

A: Paste all the code module after appropriate commented area.For example://write the Default construct...

question_answer

Q: USING THE CYK ALGORITHM, prove that the String w= abbbaa is in the language / the member of the give...

A: Given a context-free grammar: G and a string w– G = (V, ∑, P, S)where » V  is finite set of variable...

question_answer

Q: Print "Censored" if userInput contains the word "darn", else print userInput. End with newline. Ex: ...

A: To add code segments in the below given program code, so that the code will print "Censored" if user...

question_answer

Q: 1. Briefly explain the language used by computer. 2. what is the classification of the numbering sys...

A: We will answer the first question since the exact one was not specified. Please submit a new questio...

question_answer

Q: How do repeat the cents value? For example if I use the argument cents(1234), it should print 4321 (...

A: Program Instructions:In the function reverse_int(), take a string variable word, and use it to appen...

question_answer

Q: Create a new file (in Dev C++) and save it as lab7_XYZ.cpp (replace XYZ with your initials). In Lab ...

A: Code-#include<iostream>using namespace std; int main(){    cout<<"Hello\n";   int choice...

question_answer

Q: System A has two processors, Program X takes 10 seconds to execute on one of the processors. Program...

A: Throughput - It is the amount of information that a system can process within the specified time.Sys...