The Museum of HP Calculators

HP Forum Archive 06

[ Return to Index | Top of Index ]

HP-12 trigs [encore]
Message #1 Posted by Ex-PPC member on 17 Oct 2001, 5:05 a.m.

Hi again, I use a new thread, because the previous one was getting very deep and, as usual in *any* newsgroup or forum, unnecessarily sour. While I thank all people who contributed to the discussion, I think that the thread was degenerating and going farther and farther from its original question, who simply stated is: "Can anyone in this forum point me to some HP-12C code which implements *all* trigonometric functions (namely: sin, cos, tg, and their inverses) in a single 99-steps or less HP-12C program ?" Please, notice the "HP-12C" in the question. I'm sure some of you are excellent making this happen on your HP17BII or any other HP machine, and can discuss for ages whether your implementation on that machine is better or worse than anybody's else but that is completely irrelevant to my original question, which specifies the **HP-12C** as the target machine, right ?

Frankly, having been reading this forum since long, and knowing how many knowledgeable people participate here, I was absolutely sure I would be overwhelmed by scores of answers pointing me to lot of routines already written to accomplish that task, specially since the HP-12C has been on the market for 20+ years now, millions have been sold, and most people must have noticed it has no trigs.

But much to my surprise, not a single line of HP-12C code has been produced, but lots of ever-angrier, non-relevant discussions. Amazing, indeed !

Thanks anyway, I'll try harder to implement them on my own.

      
Re: HP-12 trigs [encore]
Message #2 Posted by Jordi Hidalgo on 17 Oct 2001, 5:35 a.m.,
in response to message #1 by Ex-PPC member

Hi! Ex-PPC member :-)

Try this:

http://www.hpcc.org/datafile.html#V20N5

The article on page 45 is entitled: "The HP-12C and Scientific Functions" by Wlodek Mier-Jedrzejowicz. I haven't seen it yet but I think it's what you're looking for.

Regards,

An active HPCC member, #1046 ;-)

            
Re: HP-12 trigs [encore]
Message #3 Posted by Ex-PPC member on 17 Oct 2001, 5:51 a.m.,
in response to message #2 by Jordi Hidalgo

Hi Jordi, thanks for pointing me to that article, but since I am not subscribed to that Datafile publication, nor do I have that particular issue, I can't look at it at all.

If you do own it, could you be so kind as to read it and post here a reply telling us if it does include some code to perform the 6 trig functions on a single 12C program ? If yes, could you post the code itself ? Thanks in advance.

                  
Re: HP-12 trigs [encore]
Message #4 Posted by Jordi Hidalgo on 17 Oct 2001, 6:52 a.m.,
in response to message #3 by Ex-PPC member

I'm not subscribed either. Receiving the magazine Datafile is but one of the benefits of being a member of HPCC. It's definitely not expensive, and it's worth each penny. www.hpcc.org is all it takes.

PS: Posting the code? Copyright... Anyway, ask Wlodek himself. (wlodek@hpcc.org)

      
Re: HP-12 trigs [encore]
Message #5 Posted by Vieira, Luiz C. (Brazil) on 17 Oct 2001, 8:28 a.m.,
in response to message #1 by Ex-PPC member

Hello;

Is there any specific method you want to use for implementing trigs in the 21C? I appreciate a lot programming HP calcs and as I have already done something like what you want in an HP38C, I would like helping, if you don't mind. If you feel confident, e-mail me. I'm a lot interested on having these procedures implemented, even if I do not have a 12C.

Best regards.

            
Re: HP-12 trigs [encore]
Message #6 Posted by Ex-PPC member on 17 Oct 2001, 2:23 p.m.,
in response to message #5 by Vieira, Luiz C. (Brazil)

Thanks to both Jordi and Luiz and everyone who answered in this thread or the previous one, but it seems clear to me that there's no 12C-code easily available in the web which implements those functions, contrary to what I initially thought, likely as it seemed ... :-(.

So I quit asking for it. Thanks again to everyone, and end of this thread for me.

                  
Re: HP-12 trigs [encore]
Message #7 Posted by Chris Randle (Lincoln, UK) on 17 Oct 2001, 7:00 p.m.,
in response to message #6 by Ex-PPC member

Don't give up! I concur with everything that Jordi Hidalgo has said about HPCC. I'm a member too and if you like this web site, you'll like the HPCC magazine, "Datafile".

Ask Wlodek if he objects to quoting the code here. He's a very reasonable man. Sometimes the HPCC web site has a whole article from one issue available for download. Perhaps if there are enough votes for this particular article it will be chosen.

Just to whet your appetite, the sine routine is 29 steps and the article goes in to great detail (six A5 pages) over the implementation. I believe it's a preliminary article to implementing all scientific funtions on the 12C in case it becomes the final bastion of RPN.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall