Post Reply 
Wanted: Efficient Algorithm to Square an Integer Number
03-06-2019, 08:10 PM
Post: #2
RE: Wanted: Efficient Algorithm to Square an Integer Number
I'm not aware of clever tricks for squaring an integer (and most modern CPUs have fast multiply instructions), but this seems like another opportunity to recommend the book Hacker's Delight (2nd Edition) by Henry S. Warren, Jr.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Wanted: Efficient Algorithm to Square an Integer Number - ijabbott - 03-06-2019 08:10 PM



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