Post Reply 
Casio fx-50F/fx-50FH programming
08-17-2020, 09:10 AM (This post was last modified: 08-20-2020 07:30 AM by David22.)
Post: #18
RE: Casio fx-50F/fx-50FH programming
(08-16-2020 10:39 PM)Dave Britten Wrote:  I worked out a reasonably efficient way to replicate the Int function to get the integer part of a number. You can omit the 0>X term if you know you won't be dealing with negative values.


fx-50FH:

Fix 0:Rnd(X+.5(0>X)-.5(X>0))


fx-3600P:

Fix 0:X+.5(0>X)-.5(X>0):Rnd

A good solution, but lack of INT/FRAC functions (nor function call/return) only shows how bad are those calcs for porgramming.

If you look at VERY VERY OLD fx-501P Casio calculator from 1978 (or fx-502P with more memory), a calculator with only 7-segments display, you will see on its keyboard it have INT and FRAC functions, and you can enter those command directly with 2 keystrokes. 32 years later Casio makes worst rudimentary programming calculator.

Your good solution takes 22 steps on my fx-50FH. On Casio fx-501P/fx-502P, or later fx-601P/fx-602P with alphanumeric/dot-matrix display, it takes only 1 step. Obviously you solution is good, the fault is on Casio.

Casio, instead of going to better, went to worse, much worse Smile some times and during long time.

PD: But those solar programmable (although very limited) calculators have their charm.
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 - David22 - 08-17-2020 09:10 AM
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)