Real Numbers: Underflow and overflow
From Wikibooks, open books for an open world
< Alevel Computing  AQA  Paper 2  Fundamentals of data representation(Redirected from Alevel Computing/AQA/Problem Solving, Programming, Operating Systems, Databases and Networking/Real Numbers/Errors)
From the Specification : Fundmentals of Data Representation

Underflow[edit]
When a number or the result of an equation is too small, you might not have enough digits in your mantissa and exponent to show it. In the following example the number would register as 0
Try and show 0.0000000000000000000000000001 in 12 bit FP
Overflow[edit]
When the result of a sum is too large to be represented by your number system you might run out of space to represent it and end up storing a much smaller number
Try and show 99,999,999,999,999,999,999 in 12 bit FP