Errata, First Printing (June 2016)


CHAPTER 1

p. 44, figure

Dragon curve figure on wrong page
Printed:
Fixed: Move to page 49 (Exercise 1.2.35)
Reported by Ibrahim Albluwi, 14-Sep-16.

p. 110/b>

the row vector has n elements the column vector has n elements
Printed:
Fixed:
Reported by Kevin Wayne, 10-Sep-16.

p. 110/b>

the column vector has m elements the row vector has m elements
Printed:
Fixed:
Reported by Kevin Wayne, 10-Sep-16.


CHAPTER 2

p. 195, figure

Printed: The trace starts with i = 1
Fixed: It should start with i = 0
Reported by Alison Heilbronner, 05-Oct-16.

p. 227, figure

Printed: python gaussiantable.py 1019 209
Fixed: java SAT 1019 209
Reported by Troels Bjerre Lund, 06-Sep-16.

p. 230

Printed: In our example, Gaussian is a client of SAT
Fixed: In our example, SAT is a client of Gaussian
Reported by Tadeus Prastowo, 16-Sep-16.

p. 286

Printed: We start with opt[m][n] = 1.
Fixed: We start with opt[m][n].
Reported by Tadeus Prastowo, 18-Sep-16.

p. 305, figure

Printed: Vertical percolation calculation: the first arrow at the top points to a non-full site
Fixed: remove the arrow
Reported by Tadeus Prastowo, 18-Sep-16.


CHAPTER 3

p. 333, figure

Printed: s1 = new String("Hello, World")
Fixed: s = new String("Hello, World")
Reported by Kevin Wayne, 23-Jul-16.

p. 406, first table

Printed: 2i + (1 + i)
Fixed: 2i + (1 + i)
Reported by Timothy Ruszala, 26-Oct-16.


CHAPTER 4

No errata reported at this time.


CHAPTER 5

p. 721

Printed: CCC is listed as not an amino acid encoding
Fixed: replace with TAG, a stop codon
Reported by Kenneth Mann, 08-Sep-16.


CHAPTER 6

p. 893

Printed: StdOut.println("Exponent: " + exp)
Fixed: StdOut.println("Exponent: " + exponent)
Reported by Kevin Wayne, 25-Jul-16.

p. 893, figure

Printed: ((t & 80000000) == 1)
Fixed: ((t >> 31) & 1 == 1)
Reported by Kevin Wayne, 04-Nov-16.

p. 915

Printed: 20: 8A15
Fixed: 10: 8A15
Reported by Alison Heilbronner, 12-Oct-16.

p. 967, Program 6.4.1

Printed: PC = (PC + 1) & 0XFF
Fixed: PC = (PC + 1) & 0xFF
Reported by Alison Heilbronner, 20-Oct-16.


CHAPTER 7

No errata reported at this time.


APPENDIX

No errata reported at this time.