Post Reply 
Integer part and other little tricks (CASIO fx-50F)
02-15-2017, 08:45 PM
Post: #3
RE: Integer part and other little tricks (CASIO fx-50F)
Smile OK, the two solution is not comparable, because you don't check the IP of the square root=0, you check the FP>0. This is works on the 50F also, but you can feel that FIX0+RND is works but this is a cheating Wink

BTW checking the end of the loop with only one x>0 is more elegant and you do not need to decide the max value of loop counter - but you will get all the solutions twice.

Thanks for this elegant, simplest and more portable code.
If I collect my 50F codes into a short document can I share this version with your nick?!

Have you got any other little code for these blind programmable calcs?!

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


Messages In This Thread
RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 02-15-2017 08:45 PM



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