Cantitate/Preț
Produs

Floating Point Numerics for Games and Simulations

Autor Nima Badizadegan
en Limba Engleză Paperback – 29 mai 2025
Floating point is ubiquitous in computers, where it is the default way to represent non-integer numbers. However, few people understand it. We all see weird behavior sometimes, and many programmers treat it as a mystical and imprecise system of math that just works until it sometimes doesn’t. We hear that we shouldn’t trust floating point with money, we know that 0.1 + 0.2 does not equal 0.3, and “NaN” shows up in our logs when things break. We rarely hear why any of this is the case, and less about what to do about it.
This book pulls back the veil on floating point and shows how this number system we program with every day works. It discusses how to leverage the number system for common calculations, particularly in graphics and simulations, and avoid pitfalls. Further, we will review methods that can give you either better performance or better accuracy on tasks like numerical integration and function approximation, so you can learn to make the right tradeoffs in your programs.
This book builds upon a basic knowledge of calculus and linear algebra, working with illustrative examples that demonstrate concepts rather than relying on theoretical proofs. Along the way, we will learn why Minecraft has struggled with boat physics and what the heck John Carmack was thinking with Quake III’s infamous fast reciprocal square root algorithm. By the end of the book, you will be able to understand how to work with floating point in a practical sense, from tracking down and preventing error in small calculations to choosing numerical building blocks for complex 3D simulations.
  • Gives insight into how and why floating-point math works
  • Describes how floating-point error arises and how to avoid it
  • Surveys numerical methods important to graphics and numerical simulations
  • Includes modern techniques to apply to your numerical problems
  • Shows how to hack the floating-point numbers to compute faster and more accurately
Citește tot Restrânge

Toate formatele și edițiile

Toate formatele și edițiile Preț Express
Paperback (1) 42778 lei  3-5 săpt. +1976 lei  7-13 zile
  CRC Press – 29 mai 2025 42778 lei  3-5 săpt. +1976 lei  7-13 zile
Hardback (1) 100945 lei  6-8 săpt.
  CRC Press – 29 mai 2025 100945 lei  6-8 săpt.

Preț: 42778 lei

Preț vechi: 53473 lei
-20%

Puncte Express: 642

Preț estimativ în valută:
7572 8834$ 6557£

Carte disponibilă

Livrare economică 05-19 februarie
Livrare express 22-28 ianuarie pentru 2975 lei

Preluare comenzi: 021 569.72.76

Specificații

ISBN-13: 9781032933559
ISBN-10: 1032933550
Pagini: 230
Ilustrații: 122
Dimensiuni: 156 x 234 x 13 mm
Greutate: 0.43 kg
Ediția:1
Editura: CRC Press
Colecția CRC Press

Public țintă

Professional Practice & Development and Professional Reference

Cuprins

1    Computing with Numbers, 2    Numbers in Floating Point, 3    Sources of Error, 4   The Basic Arithmetic Operations, 5    Comparing Floating-Point Numbers, 6   Conversion to and from Floating Point, 7    Numerical Operations, 8   Bitwise Manipulations, 9   Working with Error in Floating Point, 10 Function Approximation, 11  Geometry in Floating Point, 12 Numerical Integration

Notă biografică

Nima Badizadegan is an engineer who works at the intersection of computer systems and mathematics. His past experience includes work at Google and on Wall Street, as well as being a consultant and startup founder. Badizadegan has several publications in the fields of simulation and computer arithmetic and is the inventor of over 10 patents. He is a member of the IEEE and ACM and contributes to the IEEE 754 floating point standard. He is the author of the popular technical blog Speculative Branches (https://specbranch.com), where he writes about computer systems, software engineering, and math.

Descriere

Floating point is ubiquitous in computers, where it is the default way to represent non-integer numbers. However, few people understand it. We all see weird behavior sometimes, and many programmers treat it as a mystical and imprecise system of math that just works until it sometimes doesn’t.