Yet another Fibonacci mini-challenge (HP-42S/Free42)
|
01-09-2019, 05:20 AM
Post: #21
|
|||
|
|||
RE: Yet another Fibonacci mini-challenge (HP-42S/Free42)
(12-06-2018 11:30 AM)Thomas Okken Wrote: NOT +/- 1 + IP takes an extra step. However, we could use IP and save one step instead: Code:
This even works for F0. Too bad the working range is from n=0 through n=26 on the actual 42S. On Free42 it’s even worse: it will fail for n=1, because IP(0.99999999999999999999...99) is of course zero. IP can be replaced with RND, provided the display mode is set to FIX 0 or FIX 1, definitely not a good idea. But the limitation can still be overcome by using IP while keeping the original number of steps: Code:
The range on the real 42S is still limited to [1..50], but on Free42 is about [1..160+] (to be checked). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)