Part 1 Summary
Unums represent the entire real number line with a limited number of bits, and make it possible to define a computing environment that does not round, overflow, or underflow. Just as floats incorporate scaling information into the number to make it easier to do math on computers, unums take this idea a few steps further by incorpo-rating the exact or inexact status of a number, the number of bits of precision, and the dynamic range. In practice, floats are grossly over-sized as insurance against things that can ruin the result. Because unums automatically scale the bits needed up and down, they usually use fewer bits than floats, yet produce more accurate answers that come with provable bounds.
The biggest objection to unums ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access