recategorized by
405 views
0 votes
0 votes

Consider the single precision (i.e., $32$-bit) floating point representation of numbers in the normalized form where $8$ bits are used for the exponent with the bias of $127.$

  1. What is the binary representation of $-10.4$ in the above form? The steps followed to arrive at the representation must be shown.
  2.  How many different floating point numbers can be represented in the above form, lying strictly between $2^{-18}$ and $2^{-17}$ (i.e., excluding $2^{-18}$ and $\left.2^{-17}\right)?$
recategorized by

1 Answer

0 votes
0 votes

i)

In Single-Precision (32bit notation) :-

   S       E        M

  1bit        8bit           23bit

 

GIVEN      b=127,

              Value: (-10.4)         

              Binary equivalent:  10110.0111 * 10^0 

                                           => 1.01100111 * 10^4

              E=e+b => 4+127 => 131

1 10000011 000...01100111

Hexadecimal Notation:-      (C1800067)


ii)

10K ranged values.

 

pls crct me if Im wrong ;)

 

Related questions

0 votes
0 votes
2 answers
3
admin asked Aug 8, 2022
535 views
Let $G$ be a simple undirected graph having $n$ vertices with the property that the average of the degrees of the vertices in $G$ is at least $4.$ Consider the following ...