p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Essential Algorithms: A Practical Approach to Computer Algorithms (http://p2p.wrox.com/book-essential-algorithms-practical-approach-computer-algorithms-744/)
-   -   Correction on page 36 (http://p2p.wrox.com/book-essential-algorithms-practical-approach-computer-algorithms/93056-correction-page-36-a.html)

Rod Stephens June 11th, 2014 11:10 AM

Correction on page 36
 
Dipanjan pointed out a mistake in the explanation of exponentiation. The test says:

Quote:

For the previous example, the binary representation of 6 is 110 so the second and third powers of 2 are included: 2^2 and 2^4.
This should say:

Quote:

For the previous example, the binary representation of 6 is 110 so the second and third powers of 2 are included: 2^1 = 2 and 2^2 = 4.
(Here I've used ^ to mean exponentiation because the forum doesn't seem to be able to display exponents easily.)

Thanks again Dipanjan!


All times are GMT -4. The time now is 01:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.