Integer part and other little tricks (CASIO fx-50F)
02-15-2017, 08:45 PM
Post: #3
 Csaba Tizedes Senior Member Posts: 608 Joined: May 2014
RE: Integer part and other little tricks (CASIO fx-50F)
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

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
 « Next Oldest | Next Newest »

 Messages In This Thread Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 02-14-2017, 11:53 PM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 02-15-2017, 02:52 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 02-15-2017 08:45 PM RE: Integer part and other little tricks (CASIO fx-50F) - damaltor - 02-16-2017, 09:00 AM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 02-16-2017, 02:46 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 02-19-2017, 04:20 PM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 02-19-2017, 05:27 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 02-20-2017, 09:01 AM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 02-20-2017, 01:47 PM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 03-16-2017, 04:11 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 03-17-2017, 11:36 AM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 03-17-2017, 01:33 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 03-17-2017, 11:02 PM RE: Integer part and other little tricks (CASIO fx-50F) - xerxes - 03-18-2017, 12:50 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 03-20-2017, 09:43 PM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 03-23-2017, 09:22 AM RE: Integer part and other little tricks (CASIO fx-50F) - Csaba Tizedes - 03-06-2019, 10:22 PM

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