Code from the book "Hacker's Delight" by Henry S. Warren, Jr. (original and my own modifications).
Primary LanguageC