COMPUTER SCIENCE ILLUMIN.-TEXT
COMPUTER SCIENCE ILLUMIN.-TEXT
7th Edition
ISBN: 9781284156010
Author: Dale
Publisher: Jones & Barlett
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 18, Problem 33E

Explanation of Solution

Underflow error:

Underflow error is an error which occurs when the precision digits produced by the arithmetic calculation is too small  than the allocated digits to represent in the machine.

Example: consider the following equation:

(A+B)        (1)

Substitute the value of A = 5688×10-7  and B = 5689×10-7 in Equation (1).

Compute the sum of the first two values (A+B),

    5688 × 10-7  5689 × 10-7_11377 × 10-14

Here, the value 11377×10-14 can be written as 1137×10-13.

  • The result of (A+B) is 1137×10-13, which is too small to represent in the machine because the minimum exponent value that can be represented is -9 and the value lesser than the exponent -9 is considered as 0.
  • So, logically the result of A + B is set to 0. This type of error is called underflow error

Blurred answer
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education