Skip to Content
The End of Error
book

The End of Error

by John L. Gustafson
June 2017
Intermediate to advanced
416 pages
12h 30m
English
Chapman and Hall/CRC
Content preview from The End of Error

Appendix B: Glossary of ubox functions

B.1 ULP-related manipulations

promotef [u]

Appends a 0 to the fraction bits of an exact unum u, if possible.

promotee [u]

Increases the length of the exponent field of an exact unum u, if possible (preserving its numerical meaning).

promote [u, v]

Finds a pair of unums that are equal to exact unums u and v, but have identical utags.

demotef [u]

Demote fraction length of a unum u, even if it makes it inexact.

demotee [u]

Demote exponent length of a unum u, even if it makes it inexact.

B.2 Neighbor-finding functions

nborhi [u,minpower]

Finds the neighbor on the right of a unum u (closer to + ∞), and if u is exact, prefer a neighbor with ULP width 2minpower, where minpower is an integer. ...

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.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781482239867