newRPL: Angles revisited
|
04-01-2016, 01:12 AM
Post: #7
|
|||
|
|||
RE: newRPL: Angles revisited
(03-31-2016 08:40 PM)Nigel (UK) Wrote: A long time ago I wrote an RPN calculator program for the Casio FX-9860G calculator that uses angle tags in a similar way. I liked it; it would be nice to see something similar in newRPL. It seems we think alike. Your tags are pretty much the same thing I'm proposing. The only difference is my proposal of keeping the format of the first argument. My logic is a bit different, I think of operations as something applied to the number that's on the stack. For example, you have a hex number and you want to increase it. For easy typing, you just want to type 1 +, but you still want the result to be a hex number, hence keeping the first argument format is useful. Same concept helps with temperatures, etc. For angles, I think the same applies: if you have an angle, it's reasonable to assume if you add a number to it you are adding another angle and want the result to be an angle, you just don't type it as an angle to save keystrokes. However, when you have a real number and you add an angle, I'm not sure you are working with numbers or angles, so the type should remain "unknown"= real number. At least that's my logic, or it was until I read your post. I think your logic makes sense too, but I have to think a little more before I break the consistency with all the other parts of newRPL. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)