MGMT 1030 Chapter Notes - Chapter 17: Scientific Notation

34 views2 pages
MGMT 1030 Chapter 17 Notes Summary
Introduction
Programming considerations
10010 converts to binary 11001002 or 010000101100100 in IEEE 754 form.
The last step is to divide the original result by this value, using floating point division.
We will omit this step, as it is both difficult and irrelevant to this discussion.
Although this method looks more difficult than converting the number directly as a
mixed fraction, it is sometimes easier to implement within the computer.
The problem with converting floating point numbers expressed in exponential notation
is essentially the same problem
However, the difficulty is more serious because it looks as though it should be possible
to convert a number, keeping the same exponent, and this is of course not true.
If you always remember that the exponent actually represents a multiplier of value
Be where B is the base and e is the actual exponent, then you will be less tempted to
make this mistake.
Obviously it is incorrect to assume that this multiplier would have the same value for a
different B.
Instead, it is necessary to follow one of the two solutions just outlined
Either reduces the exponential notation to a standard mixed fraction and converts each
side separately, or use the value
Be as a multiplier to be divided in the new base at the end of the conversion.
You have been exposed to a number of different ways of storing and manipulating
numeric values.
It should be of interest to you to consider how a programmer might make an intelligent
choice between the many different options available.
The trade-offs between integer and floating point are clear.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents