Previous Lecture lect08 Next Lecture

lect08, Mon 02/04

How floating-point works

Reading assignment

None; do the sample midterm before section on Tuesday.

References for today’s lecture

Section 1.7 (floating-point arithmetic) of the NCM book, and this Wikipedia page on floating-point format.

Here’s a nice article on the IEEE 64-bit floating-point standard by John Cook.

Also, here is an interesting article on Google’s TPU processor, which uses a different floating-point format.

Outline

Matrix condition number:

Floating-point arithmetic:

numpy/scipy routines: