CSC270 Lecture Outline - November 18
King 19.4
- Assignment 2 handed back and solutions discussed
- C++ operator functions
Lecture 1: Generating Pseudo-random Numbers
Readings, Simulation 2.7.2, 2.6.1
- Generating pseudo-random numbers uniformly in [0,1]
- Identifying components in a simulation
Lecture 2: Integer Representations
Readings, "Computer Arithmetic and Errors" Chapter 1
- unsigned ints
- one's complement
- two's complement
- subtracting with two's complement