Solved

IEEE 754 standard

Posted on 2014-04-19
2
252 Views
Last Modified: 2014-04-20
How would you use the IEEE 754 standard to represent a floating point number if you were given the bit pattern representation of it?
0
Comment
Question by:pcomb
2 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40010902
The IEEE 754 standard defines the bit patterns to use for floating point numbers along with methods and other details.  It is used in math coprocessors and in mathematical routines in almost all programming languages.  So I'm not sure what your question is about.  What 'bit pattern representation' are you talking about?
0
 
LVL 53

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
ID: 40010923
The IEEE 754 representation of a number contains three components:

(1) sign bit: if the sign bit is 0, the number is positive; if the sign bit is 1, the number is negative.

(2) significand: a number greater than or equal to 1 and less than 2, often referred to as "1 plus a fraction" (an older term for this component is mantissa)

(3) exponent: a power of 2.

Here's an excellent description of IEEE 754 format, with examples of converting to and from it:
http://www.oxfordmathcenter.com/drupal7/node/43

If you want to learn more about it, take a look at David Goldberg's comprehensive article, What Every Computer Scientist Should Know about Floating-Point Arithmetic.

Also, there was an interesting thread here at EE a few years ago that you may find helpful:
http://www.experts-exchange.com/Programming/Algorithms/Q_25116964.html

Regards, Joe
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco USB console Windows 8.1 unable to open serial port 4 38
moving files on usb stick 3 87
robocopy 33 114
NCR Printer 7156 1 35
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question