Post Reply 
Casio fx-50F/fx-50FH programming
09-25-2019, 07:28 PM
Post: #7
RE: Casio fx-50F/fx-50FH programming
(09-25-2019 04:22 PM)Csaba Tizedes Wrote:  SIGN(var) on CASIO: (var>0)-(var<0)
I really like how CASIOs are evaluates logical expressions.

Csaba

Yeah, I think Casios started treating (in)equalities as mathematical operators rather than special conditional constructs somewhere around the 9750 and 7400. Since there were also no logical operators before then, you had to chain conditions to do an "and": X>0=>X<10=>Goto 3

It's also a useful technique for graphing stepwise functions.

I believe TIs have done the same since at least the 82. I don't think the 81, 82, or 80 have any logical operators, so you have to do addition on the comparison results to get the same effect: If (X>0)*(X<10):Goto 3
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Casio fx-50F/fx-50FH programming - ddd - 09-30-2019, 05:58 AM
RE: Casio fx-50F/fx-50FH programming - Dave Britten - 09-25-2019 07:28 PM
RE: Casio fx-50F/fx-50FH programming - ddd - 09-12-2020, 07:31 AM
RE: Casio fx-50F/fx-50FH programming - ddd - 10-07-2020, 06:57 AM



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