Friday, January 23, 2009

Hackers Delight or The American Crisis

Hacker's Delight

Author: Henry S Warren

"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

"When I first saw the title, I figured that the book must be either a cookbook for breaking into computers (unlikely) or some sort of compendium of little programming tricks. It's the latter, but it's thorough, almost encyclopedic, in its coverage." --Guy Steele

These are the timesaving techniques relished by computer hackers--those devoted and persistent code developers who seek elegant and efficient ways to build better software. The truth is that much of the computer programmer's job involves a healthy mix of arithmetic and logic. In Hacker's Delight, veteran programmer Hank Warren shares the tricks he has collected from his considerable experience in the worlds of application and system programming. Most of these techniques are eminently practical, but a few are included just because they are interesting and unexpected. The resulting work is an irresistible collection that will help even the most seasoned programmers better their craft.

Topics covered include:


  • A broad collection of useful programming tricks

  • Small algorithms for common tasks

  • Power-of-2 boundaries and bounds checking

  • Rearranging bits and bytes

  • Integer division and division by constants

  • Some elementary functions on integers

  • Gray code

  • Hilbert's space-fillingcurve

  • And even formulas for prime numbers!

This book is for anyone who wants to create efficient code. Hacker's Delight will help you learn to program at a higher level--well beyond what is generally taught in schools and training courses--and will advance you substantially further than is possible through ordinary self-study alone.
0201914654B06272002

Booknews

A computer scientist deeply embedded in IBM has compiled small programming tricks he has come across over his four decades in the field. Most work only on computers that represent integers in two's- complement form, and are easily adapted to machines with various register sizes, though a 32-bit machine is assumed when the register length is relevant. He gives proofs only when the algorithm is not obvious, and not always then. Annotation c. Book News, Inc., Portland, OR



Table of Contents:
Foreword
Preface
Ch. 1Introduction1
Ch. 2Basics11
Ch. 3Power-of-2-Boundaries45
Ch. 4Arithmetic Bounds51
Ch. 5Counting Bits65
Ch. 6Searching Words91
Ch. 7Rearranging Bits and Bytes101
Ch. 8Multiplication129
Ch. 9Integer Division137
Ch. 10Integer Division by Constants155
Ch. 11Some Elementary Functions203
Ch. 12Unusual Bases for Number Systems223
Ch. 13Gray Code235
Ch. 14Hilbert's Curve241
Ch. 15Floating-point261
Ch. 16Formulas for Primes271
App. AArithmetic Tables for a 4-Bit Machine285
App. BNewton's Method289
Bibliography291
Index297

Book about: El Guía del Empresario de Derecho comercial

The American Crisis

Author: Thomas Pain

THOMAS PAINE, in his Will, speaks of this work as The American Crisis, remembering perhaps that a number of political pamphlets had appeared in London, 1775-1776, under general title of " The Crisis." By the blunder of an early English publisher of Paine's writings, one essay in the London " Crisis " was attributed to Paine, and the error has continued to cause confusion. This publisher was D. I. Eaton, who printed as the first number of Paine's " Crisis " an essay taken from the London publication. But his prefatory note says: " Since the printing of this book, the publisher is informed that No. 1, or first Crisis in this publication, is not one of the thirteen which Paine wrote, but a letter previous to them."



No comments:

Post a Comment