Errata in lecture PDFs ?

classic Classic list List threaded Threaded
1 message Options
dlk
Reply | Threaded
Open this post in threaded view
|

Errata in lecture PDFs ?

dlk
I see a folder of errata for the book, and for the projects, but not for the lecture PDFs; is there a place for them?

In any case, in lecture\ 08\ virtual\ machine\ II.pdf, on slide 16, the mult() function shown is incorrect, since if j starts positive, it keeps getting incremented until it passes 32767 and rolls around to -32768.
j should be decremented in the loop.

Also, multiplication by naive repeated addition is stoopid ;-)