Hacker's Delight

Gebonden Engels 2013 2e druk 9780321842688
€ 64,26
Levertijd ± 11 werkdagen
Gratis verzonden

Samenvatting

In 'Hacker's Delight, 2nd 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

Specificaties

ISBN13:9780321842688
Taal:Engels
Bindwijze:gebonden
Aantal pagina's:494
Druk:2
Verschijningsdatum:12-10-2012
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Foreword
Preface

1. INTRODUCTION
1.1 Notation
1.2 Instruction Set and Execution Time Model

2. BASICS
2.1 Manipulating Rightmost Bits
2.2 Addition Combined with Logical Operations
2 3 Inequalities among Logical and Arithmetic Expressions
2.4 Absolute Value Function
2.5 Average of Two Integers
2.6 Sign Extension
2.7 Shift Right Signed from Unsigned
2.8 Sign Function
2.9 Three-Valued Compare Function
2.10 Transfer of Sign Function
2.11 Decoding a “Zero Means 2**n” Field
2.12 Comparison Predicates
2.13 Overflow Detection
2.14 Condition Code Result of Add, Subtract, and Multiply
2.15 Rotate Shifts
2.16 Double-Length Add/Subtract
2.17 Double-Length Shifts
2.18 Multibyte Add, Subtract, Absolute Value
2.19 Doz, Max, Min
2.20 Exchanging Registers
2.21 Alternating among Two or More Values
2.22 A Boolean Decomposition Formula
2.23 Implementing Instructions for all 16 Binary Boolean Operations

3. POWER-OF-2 BOUNDARIES
3.1 Rounding Up/Down to a Multiple of a Known Power of 2
3.2 Rounding Up/Down to the Next Power of 2
3.3 Detecting a Power-of-2 Boundary Crossing

4. ARITHMETIC BOUNDS
4.1 Checking Bounds of Integers
4.2 Propagating Bounds through Add's and Subtract's
4.3 Propagating Bounds through Logical Operations

5. COUNTING BITS
5.1 Counting 1-Bits
5.2 Parity
5.3 Counting Leading 0's
5.4 Counting Trailing 0's

6. SEARCHING WORDS
6.1 Find First 0-Byte
6.2 Find First String of 1-Bits of a Given Length
6.3 Find Longest String of 1-Bits
6.4 Find Shortest String of 1-Bits

7. REARRANGING BITS AND BYTES
7.1 Reversing Bits and Bytes
7.2 Shuffling Bits
7.3 Transposing a Bit Matrix
7.4 Compress, or Generalized Extract
7.5 Expand, or Generalized Insert
Afgekapt op 60 regels

Managementboek Top 100

€ 64,26
Levertijd ongeveer 11 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Hacker's Delight