Write the binary representation of an integer number, Computer Engineering

Assignment Help:

The integer n = 3,510,593 has hexadecimal representation 0x00359141 (check this with your d2h program), while the double precision, floating-point number 3510593.0 has hexadecimal representation 0x414ac8a080000000.  Derive this floating-point representation and explain the correlation between the bits of the integer and floating-point representations.

Here is a recommended procedure:

1.      Write the binary representation of n.  (Do you want to start from decimal 3510593 or hexadecimal 359141?)

2.      Insert a decimal (binary) point, and write n as 1.xxx ... x ´ 2E

3.      Write (E + BIAS) in binary.  (What is BIAS for a double?)

4.      Assemble the floating point representation of  (double)n  from the data you have collected.  How long is the longest run of matching bits in your answers to steps 1 and 4?

             Longest match is _______ bits.

More information about floating-point formats can be found in Section 2.4.2 of the text and the handout binfloat.pdf in the Piazza "General Resources" section.


Related Discussions:- Write the binary representation of an integer number

Array processing, Array Processing We have seen that for performing vec...

Array Processing We have seen that for performing vector operations, the pipelining concept has been taken. There is another method for vector operations. If we have an array o

Feature Extraction and clustering, Hi, It is a data mining project I have ...

Hi, It is a data mining project I have a CSV file that has numbers data set. The data set contains images of handwritten digits. Recognizing handwritten digits is already a mature

Data reader by returned from a web services, Why can not data reader by ret...

Why can not data reader by returned from a Web Services Method? Ans) Due to, it is not serializable

Software characteristics, Software Characteristics: Software is en...

Software Characteristics: Software is engineered and developed. Software can't "wear-out". Most of the software continues to be routine built. The term in

Call a screen as dialog box, The Syntex used to call a screen as dialog box...

The Syntex used to call a screen as dialog box (pop up)is CALL SCREEN STARTING AT ENDING AT

Incorporate exception handling, Assignment (to be published later) will req...

Assignment (to be published later) will require you to extend the menu-driven application developed in Assignment 2B, to incorporate the recording details of the doctors who will b

Artificial intelligence, 2. The Turing test has often been incorrectly inte...

2. The Turing test has often been incorrectly interpreted as being a test of whether or not a person could distinguish between responses from a computer and responses from a person

Compares a pair of characters entered by keyboard, Program: This program c...

Program: This program compares a pair of characters entered by keyboard. ; Registers used: AX, BX, CX, DX DATA SEGMENT                          XX DB?

#project, how to build PVR set-top box using raspberry

how to build PVR set-top box using raspberry

Define process for swapping into memory from the swap device, What are the ...

What are the criteria for choosing a process for swapping into memory from the swap device? The resident time of the processes in the change device, the priority of the process

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd