Post Reply 
4-banger?
01-23-2014, 08:41 PM (This post was last modified: 01-23-2014 08:59 PM by Dieter.)
Post: #9
RE: 4-banger?
(01-23-2014 07:29 PM)Gerson W. Barbosa Wrote:  No x<=y? This appears to be very useful and important, otherwise it wouldn't be the second test available on the HP-12C, along with x=0.

Any test that includes an OR operator (like X≤Y? or X≥0?) can be replaced by a combination of two other tests. In this case, X≤Y? is the same as X≠Y? followed by X<Y?.

So if the number of tests really is limited, the device should provide <, >, = and ≠. Everything else can be assembled easily.

On the other hand, we should expect a full set of all 12 tests on a current calculator. Memory is not an issue these days. I also like the tests against 1 as provided by the 34s. Which would make a total of 18 tests.

Addendum: I just recalled the days when I did some programming on a TI-58/59. These had merely two (!) test commands: x≤t? and x=t?. Tests against zero were accomplished by clearing t beforehand (using the CP command), and the missing x>t? and x≠t? tests were handled by a preceding INV that inverted the command that followed. Well, at least this INV thing is something I could find useful on the one or other HP as well. Imagine how much key space this would save.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
4-banger? - Scottie - 01-23-2014, 03:57 PM
RE: 4-banger? - Jeff O. - 01-23-2014, 05:58 PM
RE: 4-banger? - walter b - 01-23-2014, 07:08 PM
RE: 4-banger? - Gerson W. Barbosa - 01-23-2014, 07:29 PM
RE: 4-banger? - Dieter - 01-23-2014 08:41 PM
RE: 4-banger? - walter b - 01-23-2014, 08:59 PM
RE: 4-banger? - Dieter - 01-23-2014, 09:40 PM
RE: 4-banger? - walter b - 01-24-2014, 08:13 AM
RE: 4-banger? - BillCarter - 01-24-2014, 06:30 PM
RE: 4-banger? - walter b - 01-24-2014, 11:23 PM
RE: 4-banger? - walter b - 01-26-2014, 12:44 PM
RE: 4-banger? - walter b - 01-27-2014, 10:38 AM
RE: 4-banger? - Dieter - 01-28-2014, 09:39 PM
RE: 4-banger? - Scottie - 01-23-2014, 06:28 PM
RE: 4-banger? - walter b - 01-23-2014, 06:44 PM
RE: 4-banger? - Jeff O. - 01-23-2014, 06:47 PM
RE: 4-banger? - Michael de Estrada - 01-23-2014, 06:57 PM
RE: 4-banger? - Sanjeev Visvanatha - 01-24-2014, 11:43 PM
RE: 4-banger? - Sanjeev Visvanatha - 01-26-2014, 09:41 PM
RE: 4-banger? - walter b - 01-26-2014, 10:07 PM
RE: 4-banger? - Sanjeev Visvanatha - 01-26-2014, 10:11 PM
RE: 4-banger? - Terje Vallestad - 01-26-2014, 10:11 PM
RE: 4-banger? - Sanjeev Visvanatha - 01-26-2014, 10:13 PM
RE: 4-banger? - Scottie - 01-27-2014, 06:46 PM
RE: 4-banger? - Scottie - 01-27-2014, 06:53 PM
RE: 4-banger? - walter b - 01-27-2014, 09:30 PM
RE: 4-banger? - Jonathan Cameron - 01-27-2014, 06:59 PM
RE: 4-banger? - walter b - 01-27-2014, 09:56 PM
RE: 4-banger? - Paul Dale - 01-27-2014, 10:16 PM
RE: 4-banger? - d b - 01-27-2014, 11:22 PM
RE: 4-banger? - walter b - 01-28-2014, 08:14 AM
RE: 4-banger? - walter b - 01-28-2014, 03:12 PM
RE: 4-banger? - Paul Dale - 01-28-2014, 05:32 AM
RE: 4-banger? - d b - 01-28-2014, 08:57 AM
RE: 4-banger? - Paul Dale - 01-28-2014, 10:10 AM
RE: 4-banger? - walter b - 01-28-2014, 11:52 AM
RE: 4-banger? - Sanjeev Visvanatha - 01-28-2014, 12:53 PM
RE: 4-banger? - Marcus von Cube - 01-28-2014, 03:21 PM
RE: 4-banger? - d b - 01-28-2014, 04:46 PM
RE: 4-banger? - walter b - 01-28-2014, 05:08 PM
RE: 4-banger? - Didier Lachieze - 01-28-2014, 05:28 PM
RE: 4-banger? - Massimo Gnerucci - 01-28-2014, 07:23 PM
RE: 4-banger? - d b - 01-28-2014, 06:30 PM



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