(Latest Revision: 10/22/2001)

Week 08 Notes for CS 1500 -- Fall 2001


  • Take roll.

  • Announcements

  • Check what's new in schedule

  • Lecture topic: Review Lab content

  • Lecture topic: Go over examples illustrating concepts in chapter 5 (see the week 07 notes)

  • Lecture topic: Discuss code example 5.13 and how the fact that conversion between binary and decimal representations introduces errors in the values of floating point numbers. Also, errors arise because a computer only has a finite number of bits to use to represent a number.

  • Lecture topic: Discuss code example 5.14 and how implicit conversion (coercion) works there.

  • Lecture topic: Discuss code example 5.15 and how explicit conversion (coercion) works there to "force" floating point division.

  • Lecture topic: Run example 5.17 to see the range of integers our Sun Ultra g++ compiler supports.