Lecture 3 Demo:


Here is the expanded Precision example from lecture, which now uses a math library call to print out the answer as a power of two.
It is not a coincidence that the remainder is an exact power of two. What is the significance of -23?

Here is a Makefile for our Precision program.
The new Makefile includes a ${LIBS} macro to ensure that the compiler links in the necessary math library when we build the project.


Back