Post Reply 
HP 48G - RCLF and STOF
09-06-2021, 03:15 AM (This post was last modified: 09-06-2021 03:31 AM by MNH.)
Post: #3
RE: HP 48G - RCLF and STOF
(09-05-2021 11:28 PM)Liam Hays Wrote:  I agree that what you're describing doesn't make sense. Can you post your source code?

Original source code is from https://groups.google.com/g/comp.sys.hp4...4wlp9eT-MJ .

Current number format is set to 4 FIX.

P->R

\<< RCLF ROT ROT -16
SF HMS\-> \->V2 -16 CF
V\-> 2 FIX "SIDE 1"
\->TAG SWAP "SIDE 2"
\->TAG ROT STOF
\>>

Input

2: 500.0000 @ Diagonal distance or hypotenuse
1: 36.5212 @ Interior angle

Output

2: SIDE 1: 300.0007 @ Side opposite from interior angle
1: SIDE 2: 399.9995 @ Side adjacent to interior angle

Note that despite the 2 FIX, output is in 4 FIX. Why?

From the HP 48G Series AUR appendix C:

Flag -50 Fix: -49 set, -50 clear.

How do I need to set/clear flags -49 and -50 to make my code work correctly?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 48G - RCLF and STOF - MNH - 09-05-2021, 10:32 PM
RE: HP 48G - RCLF and STOF - Liam Hays - 09-05-2021, 11:28 PM
RE: HP 48G - RCLF and STOF - MNH - 09-06-2021 03:15 AM
RE: HP 48G - RCLF and STOF - rprosperi - 09-06-2021, 01:04 PM
RE: HP 48G - RCLF and STOF - MNH - 09-07-2021, 12:30 AM
RE: HP 48G - RCLF and STOF - Joe Horn - 09-07-2021, 01:01 AM
RE: HP 48G - RCLF and STOF - MNH - 09-08-2021, 12:46 AM



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