Conversion Routine
|
07-02-2016, 02:45 AM
(This post was last modified: 07-02-2016 01:14 PM by SlideRule.)
Post: #1
|
|||
|
|||
Conversion Routine
In his three volume publication of Structural Programs for the HP67 programmable calculator, W. L. Ashley (PE) includes a program for FEET-INCHES-SIXTEENTHS arithmetic with a 77 line routine for conversion to (LBL B) and from (LBL A) FEET-DecimalFeet and FEET-INCHES-SixteenthsInches. I developed a similiar but much more compact routine for my Hp calculators when I was employed by an International Bridge Design firm in the early 80's.
The savings in program steps begins with a parallel comparison of the two separate conversion routines, as follows: [attachment=3706] which yield a 40 line replacement (if used directly as listed) BUT when merged, as follows; [attachment=3707] error in line 30, see reply #2 yield a 31 line program (less than half the original size). To use; Code:
BEST! SlideRule ps: I would include the 77 line program for the Hp67 if the copyright is waived. The algorithm presented is fairly universal among the early RPNs' but has plenty of opportunity for modification / improvement. Press to Test! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Conversion Routine - SlideRule - 07-02-2016 02:45 AM
RE: Conversion Routine - Dieter - 07-02-2016, 06:07 AM
RE: Conversion Routine - SlideRule - 07-02-2016, 12:43 PM
RE: Conversion Routine - Dieter - 07-04-2016, 08:22 PM
RE: Conversion Routine - SlideRule - 07-04-2016, 11:31 PM
RE: Conversion Routine - SlideRule - 07-07-2016, 01:13 AM
RE: Conversion Routine - Dieter - 07-07-2016, 05:20 PM
RE: Conversion Routine - Dieter - 07-07-2016, 06:33 PM
RE: Conversion Routine - SlideRule - 07-08-2016, 12:48 AM
RE: Conversion Routine - SlideRule - 07-08-2016, 01:58 PM
RE: Conversion Routine - Dieter - 07-08-2016, 06:32 PM
RE: Conversion Routine - SlideRule - 07-08-2016, 07:41 PM
RE: Conversion Routine - SlideRule - 07-11-2016, 02:52 PM
|
User(s) browsing this thread: 1 Guest(s)