Post Reply 
Trigonometric Functions for the HP-38C/HP-12C
07-12-2017, 03:17 PM
Post: #15
RE: Trigonometric Functions for the HP-38C/HP-12C
(03-25-2016 04:51 AM)Gerson W. Barbosa Wrote:  
(03-25-2016 03:30 AM)bshoring Wrote:  Some time ago, Gerson Barbosa wrote a really nice program to compute Trig functions on the HP-12C and its predecessor, the HP-38C...


Unfortunately more digits won't help here. In order to improve the accuracy you would need more constants, but then this wouldn't be possible on the HP-12C/38C using this approach, given their limited memory. I was able to get much better accuracy and functionality on the HP-12C Platinum whose 20 registers are always available, even when all 400 programming steps are fully used:


I'm wondering whether there's a mistake at the beginning of this particular program for the 12c. At line 006 x<>y, what is supposed to be in the y register? The program doesn't put anything in there, so it would be any random number that was left in the stack before the program was started.

I'm running this on a simulator and not getting results remotely close to what they should be.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Trigonometric Functions for the HP-38C/HP-12C - tiptongrange - 07-12-2017 03:17 PM

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