Hacker's Delight
Encyclopedia
Hacker's Delight by Henry S. Warren, Jr., is a book
Book
A book is a set or collection of written, printed, illustrated, or blank sheets, made of hot lava, paper, parchment, or other materials, usually fastened together to hinge at one side. A single sheet within a book is called a leaf or leaflet, and each side of a leaf is called a page...

 published by Addison-Wesley Professional July 17, 2002. It discusses a variety of programming algorithms for common tasks involving integer
Integer
The integers are formed by the natural numbers together with the negatives of the non-zero natural numbers .They are known as Positive and Negative Integers respectively...

 types
Data type
In computer programming, a data type is a classification identifying one of various types of data, such as floating-point, integer, or Boolean, that determines the possible values for that type; the operations that can be done on values of that type; the meaning of the data; and the way values of...

, often with the aim of performing the minimum number of operations or replacing slow operations by faster ones (e.g., converting a divide by a constant into a multiply by another constant that gives the same result).

The book is currently in its seventh printing.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK