Please help me find this book

10212015, 06:13 PM
Post: #1




Please help me find this book
Guys & Gals,
I'm trying to locate a book, but no amount of GoogleFu and other searching brings back a result that fits my recollection. Here is what I *think* I remember about it (it's my age), so if it jogs your memory as to a possible title, please give me a pointer and I'll be ever so grateful. I think I saw it mentioned in the MoHPC forums somewhere, probably within the last year. I think it was in a discussion about the WP 34S; or if not then probably about the internal routines employed by electronic calculators. It was a book with the collected wisdom of assembly language and/or binary arithmetic tricks. It had these sort of recipes: "To multiply two 8bit numbers that are both even: shift one left 3 times and then AND with the XOR of the other." (that's a made up example, I hope it doesn't really work that way!). I remember it being quite a hefty tome, and getting complicated and esoteric quite quickly. Many thanks.  Chris Randle 

10222015, 04:02 AM
Post: #2




RE: Please help me find this book
Perhaps what Paul Dale wrote in this thread?
Quote:I've posted this list before but here are some good texts on numeric mathematics: To which I might add Vol 2 of Knuth's "The Art of Computer Programming" ("Seminumerical Algorithms") The (short) thread also lists some online publications / notes that you might find interesting. 

10222015, 07:03 AM
Post: #3




RE: Please help me find this book
Hi Chris,
perhaps you had "How Computers do Math" by Clive Maxfield and Alvin Brown in mind. It's a wonderful book and I had a lot of fun reading it. Best regards Karl 

10222015, 07:34 AM
Post: #4




RE: Please help me find this book
There are always sites like these. Not so much about getting numerically accurate results but about doing things in a weird and wonderful way.
 Pauli 

10222015, 11:16 AM
Post: #5




RE: Please help me find this book
Thank you everyone who has replied.
I've been through all the lists and threads mentioned. There are some corkers there, but none is the one I am trying to remember/find. "The Definitive Guide to How Computers Do Math" was surprisingly good; a definite cut above the usual books on the subject  I've ordered a copy of that for my kids (but mostly for me!). It's very much in the vein of Maxfield's other "Beebop Boogie to the Boolean Algebra" and Petzold's "Code". Thanks Karl. But the closest so far is Paul Dale's suggesting of Bit Twiddling. That's exactly the sort of thing it contained. It was a fullyfledged book though, and I'm sure it was a paidfor item, because I decided not to buy it at the time. I remember it being more of a reference work than a teaching endeavour, something along the lines of the NIST Handbook of Mathematical Functions, but focusing more on binary arithmetic. Also, I seem to remember the author's foreword mentioning that he'd compiled the algorithms over the course of his programming career, and was surprised that nobody had ever committed that sort of thing to print, so he did. If that helps jog any memories. Thanks again for the trouble taken so far. It's certainly revealed some great books & resources I hadn't seen before.  Chris 

10222015, 12:09 PM
(This post was last modified: 10222015 12:25 PM by SlideRule.)
Post: #6




RE: Please help me find this book
Chris
Sorry to be a late comer. Might I suggest ... Hacker's Delight by Henry S. Warren Jr. ...In Hacker's Delight, veteran programmer Hank Warren shares the collected wisdom  namely tips and tricks  from his considerable experience in the world of application development. The resulting work is an irresistible collection that will help even the most seasoned programmers better their craft ... A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier... Hacker's Delight for under $20.00 at Amazon From the Back Cover "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." BEST! SlideRule 

10222015, 12:38 PM
Post: #7




RE: Please help me find this book
Bingo. That's the one. Thank you, it was driving me mad trying to find it.
It has been mentioned (if Google can be believed) three times before on hpmuseum.org: in 2007, 08 and 09. The earliest thread also has a few more interesting books listed, should anyone else be interested. http://www.hpmuseum.org/cgisys/cgiwrap/...ead=124086 Well, SlideRule, you already have my thanks, and I shall presume to add my employer's as I can now return to those tasks that they pay me to do. 

11042015, 06:03 PM
Post: #8




RE: Please help me find this book
(10222015 12:09 PM)SlideRule Wrote: Might I suggest ...Yes, this book is a gem. Those who appreciate clever little solutions on bit and byte level will for sure find inspiration reading it. Greetings, Matthias  "Programs are poems for computers." 

11192015, 11:57 PM
Post: #9




RE: Please help me find this book  
11202015, 12:25 PM
Post: #10




RE: Please help me find this book
The book has reached my desk, too. Not cheap but worth it.
BTW, if you are looking for an easy read on your pillow, forget it! :D Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basiccompare.html 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)