GDC is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Use the GDC 2021 Session Viewer to browse and sort the ever-growing list of sessions by pass type, topic, and format. You will be able to build your personal schedule directly within the event platform, once live early July 2021.

Math in Game Development Summit: Even Faster Math Functions

Robin Green  (Programmer, Pacific Light & Hologram)

Pass Type: All Access Pass, Summits Pass

Topic: Programming

Format: Session

Vault Recording: TBD

For experienced programmers we present a deep dive into coding math functions like cosine, reciprocal-sqrt, arctangent or exponents and how to create implementations for yourself that are faster, smaller or more accurate for your problems than the standard libraries. We will visit new research inspired by te latest FPGA solutions, new number representations, bitheaps, black boxes, fit piecewise polynomials, see new forms of range reduction and semi-table driven approximations. This is the fundamental math on how to math.


Attendees will learn a toolbox of techniques for coding accurate, efficient implementations of math functions in both fixed and floating point. Using the latest research in FPGA and parallel CPU math, they will learn fitting piecewise polynomials, bit-hacking tricks for reciprocals, pack tables into bitheaps, and come away with a deeper understanding of how machines compute mathematical functions.

Intended Audience

Aimed at experienced math progammers looking for that last 10% edge, for senior devs unhappy with their standard libaries, and for embedded programmers working directly to bare metal who need to reliable and predictable results. Use of hexadecimal, IEEE754 floating point formats and 2s-compliment signed binary arithmetic will be presumed.