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
218 GPGPU Programming for Games and Science
For 32-bit floating-point numbers, some of the deviations from the rules are
about the handling of quiet or signaling NaNs. Two variations that potentially
have more impact when comparing the results from the GPU and from an FPU
associated with the CPU are the following.
The default rounding rule for IEEE 754-2008 is round-to-nearest ties-
to-even. This rule is discussed in Section 2.5.2.1. The idea is that a
floating-point operation produces the floating-point number nearest to
the theoretical result. When the theoretical result has a fractional part
that is one-half, you round down if the integer part is
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