(28S) Binary Arithmetic routines - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (28S) Binary Arithmetic routines (/thread-20374.html) |
(28S) Binary Arithmetic routines - SlideRule - 08-23-2023 08:40 PM An excerpt from E D N magazine (international edition), Calculator performs 2's-complement math, 1990/10/11, page 221, Peter Kielbasiewicz. "The calculator programs in Listing 1―HP-28 binary-arithmetic routines make up for the Hewlett-Packard HP-28 calculator's lack of 2's-complement binary-conversion routines." "The first program negates a number in 2's-complement form." Code:
"The second program converts numbers from real to binary and binary to real." Code:
BEST! SlideRule |