Verkäufer:buecher-de✉️(301.921)99.7%,
Artikelstandort:Augsburg, DE,
Versand nach: DE,
Artikelnummer:225562473085Hacker's Delight|Henry Warren|Gebundenes Buch|Englisch.
Hacker's Delight von Henry Warren (Buch)
Gebundenes Buch 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
Product Description 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
17.3 Comparing Floating-Point Numbers Using Integer Operations 381
17.4 An Approximate Reciprocal Square Root Routine 383
17.5 The Distribution of Leading Digits 385
17.6 Table of Miscellaneous Values 387
Chapter 18: Formulas For Primes 391
18.1 Introduction 391
18.2 Willans’s Formulas 393
18.3 Wormell’s Formula 397
18.4 Formulas for Other Difficult Functions 398
Answers To Exercises: 405
Appendix A: Arithmetic Tables For A 4-Bit Machine 453
Appendix B: Newton's Method 457
Appendix C: A Gallery Of Graphs Of Discrete Functions 459
C.1 Plots of Logical Operations on Integers 459
C.2 Plots of Addition, Subtraction, and Multiplication 461
C.3 Plots of Functions Involving Division 463
C.4 Plots of the Compress, SAG, and Rotate Left Functions 464
C.5 2D Plots of Some Unary Functions 466
Bibliography 471
Index 481
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