Bootcamp, Winter 2021     Agenda     Registration     About

Floating-Point Arithmetic is Not Real

Instructor bio


This session will introduce participants to what every programmer should know about floating point arithmetic.

Learning objectives

Attendees will leave with a basic understanding of computer representation of numbers, a basic understanding of floating point arithmetic, the consequences of floating point arithmetic for scientific computing, and a basic understanding about fast math.

Knowledge prerequisites

Programming experience with C/C++ is required. Basic facility with the bash command-line is also helpful.

Hardware/software prerequisites

Participants in any PICSciE virtual workshop need a Princeton Zoom account. For this session, users should also have an account on the Adroit cluster, and they should confirm that they can SSH into Adroit at least 48 hours beforehand. Details on all of the above can be found in the advance setup guide for PICSciE virtual workshops.

Session format

Lecture and hands-on

Session Materials

Presentation materials are here. Code samples for the hands-on exercises are in this Github repo.

Session Recording

A recording of the session is here (requires active Princeton NetID to view).