Hacker's Delight, 2/e (Hardcover)
暫譯: 駭客的樂趣,第二版 (精裝本)

Henry S. Warren

  • 出版商: Addison Wesley
  • 出版日期: 2012-09-25
  • 售價: $2,380
  • 貴賓價: 9.5$2,261
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Hardcover
  • ISBN: 0321842685
  • ISBN-13: 9780321842688
  • 相關分類: 駭客 Hack
  • 相關翻譯: 算法心得:高效算法的奧秘 (簡中版)
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

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

 

商品描述(中文翻譯)

黑客的樂趣,第二版中,Hank Warren 再次編輯了一系列無法抗拒的程式設計技巧:節省時間的技術、算法和技巧,幫助程式設計師構建更優雅和高效的軟體,同時深入了解他們的技藝。Warren 的技巧非常實用,但同時也具有內在的趣味性,有時甚至出乎意料,就像解開一個偉大謎題的解答。簡而言之,這些對任何渴望改進的程式設計師來說都是一種樂趣。

本版的擴充內容包括


  • 關於循環冗餘檢查(CRC)的新章節,包括常用的 CRC-32 代碼的例程

  • 關於錯誤更正碼(ECC)的新章節,包括 Hamming 代碼的例程

  • 更多有關常數整數除法的內容,包括僅使用位移和加法的方法

  • 在不計算商的情況下計算餘數

  • 更多有關人口計數和計算前導零的內容

  • 陣列人口計數

  • 新的壓縮和擴展算法

  • 一個 LRU 算法

  • 浮點數與整數之間的轉換

  • 近似浮點數倒數平方根的例程

  • 離散函數的圖形畫廊

  • 現在包含練習題和答案