Solved

IEEE 754 standard

Posted on 2014-04-19
2
250 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 52

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

816 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now