Yes, a real programming question in the lounge...
-
The manual can be downloaded from here[^]...free
Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com
-
According to the manual: ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle θ formed between the x-axis and the point (x,y), such that -π < θ <= π.
enum HumanBool { Yes, No, Maybe, Perhaps, Probably, ProbablyNot, MostLikely, MostUnlikely, HellYes, HellNo, Wtf }
-
Thanks very much! I now remember it from your description. I also understand why I used it so much in the program, and shall now write my own version of the function. Thanks!
-
Oh sod it! Just downloaded it, but not had a chance to peruse yet. Coulda saved myself 19 bucks! Never mind - I'll just look on it as a fine for having weak Googlefu. :-\ Any, thanks!
I do the same thing more often then I care to admit!
Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com
-
I do the same thing more often then I care to admit!
Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com
It's going to save me a lot of time, anyway, as I won't see the CD for at least two weeks. Having now had a browse, I have also found the table of 256 special characters that I used for integers, so I can now backtrack onto all the many constants used in close to a thousand polynomial terms.
-
It's going to save me a lot of time, anyway, as I won't see the CD for at least two weeks. Having now had a browse, I have also found the table of 256 special characters that I used for integers, so I can now backtrack onto all the many constants used in close to a thousand polynomial terms.
Awesome glad it helped. Mr. Google is a pretty smart fella!
Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com
-
Well, not so much, really. I know you will all forgive me when I tell you it's about BASIC! :laugh: Some while A long time ago I had an HP 95C 75Ccalculator for which I wrote what was at that time a fairly useful program, in the only supported language - HP BASIC. It was larger than would fit in the 24K available, so I had jump through all sorts of hoops to get it to fit - like using ASCII characters to represent some integers. I no longer have the 95C 75C, and have some how lost the manual - unusual for me - but I do still have the code listings, but there are no code comments, as space did not permit. I do have one listing with scribbled comments on it, but they are sparse in the extreme. Now I am in semi-retirement, I thought I would rewrite it for my Android - and here's the problem. I made heavy use of a built-in function ANGLE(X,Y) but I cannot remember precisely what it did. Bear in mind that I was stuck with one character variable names plus A0 through Z9. I presume it took two sides of a right triangle and returned an angle - but which one? :suss: So, gentlemen, your mission, if you choose to accept it, is burrow away in your memories and let me know which two sides were used to provide the angle. :cool: Edit: Me minds goin' - it was a 75C not a 95C! :-O
Give this a try: Link ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle theta formed between the x-axis and the point (x,y), such that -pi < theta <= pi.
-
Give this a try: Link ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle theta formed between the x-axis and the point (x,y), such that -pi < theta <= pi.
Thanks very much for that - wish I had two days ago! It will help out in understanding some other obscure stuff as well, where I have forgotten what I wrote it for nearly 40 years ago! :omg: In fact it is the same as ArcTan2 with the input reversed. I had used it in a user defined function to turn the angle of a line defined by x and y coordinates into a bearing between 0 and 360 degrees. Anyway, thanks!
-
I don't know that this will help, but ... HP Museum[^] lists a CD scan of the manual for $10: https://www.hpmuseum.org/95cman.jpg[^] Documents on the Museum Document Set[^]
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Thinking of HP: remember SPL/3000? The *system* program language for the HP/3000 -- I never saw any assembler And it was ... Algol ! :-) Clean, powerful. Wikipedia says it survived the transition from the 3000 to PA-RISC.
Yes, I remember some SPL. OK, very little. TOS? Was that a register that held a pointer to the top of the stack? I also remember programming HP "smart terminals" with escape sequences. For the more powerful terminals, one could draw polygons with escape sequences and thus produce various charts and other diagrams.
JohnnyCee
-
Yes, I remember some SPL. OK, very little. TOS? Was that a register that held a pointer to the top of the stack? I also remember programming HP "smart terminals" with escape sequences. For the more powerful terminals, one could draw polygons with escape sequences and thus produce various charts and other diagrams.
JohnnyCee