Yet another Fibonacci mini-challenge (HP-42S/Free42)
|
12-06-2018, 11:30 AM
Post: #12
|
|||
|
|||
RE: Yet another Fibonacci mini-challenge (HP-42S/Free42)
NOT +/-
That's actually three bytes, not two, but 1 BASE+ is four bytes, so it does save one byte. Anyway, now I see why this cleverness causes this implementation to fail for n > 50: that's where the BASE functions' 36-bit arithmetic goes out of range. You do need to use IP if you want to avoid that limitation. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)