p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Essential Algorithms: A Practical Approach to Computer Algorithms (http://p2p.wrox.com/forumdisplay.php?f=744)
-   -   Correction on page 36 (http://p2p.wrox.com/showthread.php?t=93056)

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 09:57 PM.

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