Skip to Content
GPGPU Programming for Games and Science
book

GPGPU Programming for Games and Science

by David H. Eberly
August 2014
Intermediate to advanced
469 pages
16h 30m
English
A K Peters/CRC Press
Content preview from GPGPU Programming for Games and Science
CPU Computing 85
The 0-index roots are the same for the two methods but the 1-index roots
differ. In fact, the roots have trailing significands that differ by seven, which
amounts to a floating-point difference of 1/2
21
+1/2
22
+1/2
23
.
=8.34465e7.
The pseudocode shows the two floating-point neighbors of the 0-index
root, namely,
rootPrev[0] and rootNext[0]. Observe that the polynomial values
at those points have opposite signs, which means that zero lies between them
(in terms of infinite precision). The polynomial value at the computed root is
nearly zero and has a magnitude smaller than that of the polynomial value
at the root’s next-up neighbor. Thus, the floating-point value computed for
the root is the best that you can do in terms of 32-bit float and polynomi ...
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

Graphics Gems V (IBM Version)

Graphics Gems V (IBM Version)

Alan W. Paeth
GPU Pro 6

GPU Pro 6

Wolfgang Engel

Publisher Resources

ISBN: 9781466595354