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:
- Sensitivity analysis of Ax = b
- Condition number of a matrix
Floating-point arithmetic:
- Machine epsilon: when 1 + x == x
- How the bits work
- Parameters of floating-point systems
numpy/scipy routines:
- npla.cond()
- np.finfo(np.float64)