(EL-5030) Prime Factors
|
04-22-2022, 07:02 PM
Post: #6
|
|||
|
|||
RE: (EL-5030) Prime Factors
(04-22-2022 06:48 PM)C.Ret Wrote: If we represent the Dave's nice AER program based on 3-loops and 3-conditionals by the following "inline-graphic": Thanks, your graphical representation of the program looks good. Aside from the deliberate liberty taken on the array initialization, of course - would be nice if the calculator had a less-verbose method like that! In the Casio version that I based this on, I do 2->O~Z to initialize the whole array with 2 in one shot, then individually store the 6 elements that aren't 2, so it's a little bit shorter. (04-22-2022 06:48 PM)C.Ret Wrote: Please fill free to test and correct my code, I (still) have no SHARP EAR hardware... Clever trick with stuffing the next array index into the registers! I'll have to try keying it in later to compare the speed and size. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(EL-5030) Prime Factors - Dave Britten - 04-21-2022, 03:01 PM
RE: (EL-5030) Prime Factors - Jlouis - 04-22-2022, 02:02 AM
RE: (EL-5030) Prime Factors - Didier Lachieze - 04-22-2022, 04:17 PM
RE: (EL-5030) Prime Factors - Dave Britten - 04-22-2022, 04:27 PM
RE: (EL-5030) Prime Factors - Didier Lachieze - 04-22-2022, 09:37 PM
RE: (EL-5030) Prime Factors - C.Ret - 04-23-2022, 04:27 AM
RE: (EL-5030) Prime Factors - Didier Lachieze - 04-23-2022, 08:31 AM
RE: (EL-5030) Prime Factors - C.Ret - 04-22-2022, 06:48 PM
RE: (EL-5030) Prime Factors - Dave Britten - 04-22-2022 07:02 PM
RE: (EL-5030) Prime Factors - C.Ret - 04-22-2022, 08:07 PM
RE: (EL-5030) Prime Factors - C.Ret - 04-23-2022, 05:07 PM
|
User(s) browsing this thread: 1 Guest(s)