This session will introduce participants to what every programmer should know about floating point arithmetic.
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.
Programming experience with C/C++ is required. Basic facility with the bash command-line is also helpful.
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.
Lecture and hands-on
Presentation materials are here. Code samples for the hands-on exercises are in this Github repo.
A recording of the session is here (requires active Princeton NetID to view).