
Hacker's Delight
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
--Josh Bloch (Praise for the first edition)
In Hacker's Delight, Second Edition, Hank Warren once again compiles an irresistible collection of programming hacks: timesaving techniques, algorithms, and tricks that help programmers build more elegant and efficient software, while also gaining deeper insights into their craft. Warren's hacks are eminently practical, but they're also intrinsically interesting, and sometimes unexpected, much like the solution to a great puzzle. They are, in a word, a delight to any programmer who is excited by the opportunity to improve.
Extensive additions in this edition include
A new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 code
A new chapter on error correcting codes (ECC), including routines for the Hamming code
More coverage of integer division by constants, including methods using only shifts and adds
Computing remainders without computing a quotient
More coverage of population count and counting leading zeros
Array population count
New algorithms for compress and expand
An LRU algorithm
Floating-point to/from integer conversions
Approximate floating-point reciprocal square root routine
A gallery of graphs of discrete functions
Now with exercises and answers
More details
Other editions
Additional editions

Person
Content
Chapter 2: Basics
Chapter 3: Power-of-2 Boundaries
Chapter 4: Arithmetic Bounds
Chapter 5: Counting Bits
Chapter 6: Searching Words
Chapter 7: Rearranging Bits And Bytes
Chapter 8: Multiplication
Chapter 9: Integer Division
Chapter 10: Integer Division By Constants
Chapter 11: Some Elementary Functions
Chapter 12: Unusual Bases For Number Systems
Chapter 13: Gray Code
Chapter 14: Cyclic Redundancy Check
Chapter 15: Error-Correcting Codes
Chapter 16: Hilbert's Curve
Chapter 17: Floating-Point
Chapter 18: Formulas For Primes
Answers To Exercises:
Appendix A: Arithmetic Tables For A 4-Bit Machine
Appendix B: Newton's Method
Appendix C: A Gallery Of Graphs Of Discrete Functions
System requirements
File format: ePUB
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reading software that can process the file format ePUB: e.g., Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Before downloading, install the free app Adobe Digital Editions (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.