Image for Hacker's Delight

Hacker's Delight (2nd ed)

See all formats and editions

"This is the first book that promises to tell the deep, dark secrets of computer arithmetic, and it delivers in spades.

It contains every trick I knew plus many, many more.

A godsend for library developers, compiler writers, and lovers of elegant hacks, it deserves a spot on your shelf right next to Knuth." --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 codeA new chapter on error correcting codes (ECC), including routines for the Hamming codeMore coverage of integer division by constants, including methods using only shifts and addsComputing remainders without computing a quotientMore coverage of population count and counting leading zerosArray population countNew algorithms for compress and expandAn LRU algorithmFloating-point to/from integer conversionsApproximate floating-point reciprocal square root routineA gallery of graphs of discrete functionsNow with exercises and answers

Read More
Available
£35.59 Save 20.00%
RRP £44.49
Add Line Customisation
3 in stock Need More ?
Add to List
Product Details
0321842685 / 9780321842688
Hardback
005.1
04/10/2012
United States
English
xvi, 494 p. : ill.
24 cm
Previous ed.: 2003.