HP-42S (Free42, DM-42) mini-challenge – Wallis Product
|
07-06-2020, 11:06 AM
Post: #16
|
|||
|
|||
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product
(07-06-2020 02:31 AM)Gerson W. Barbosa Wrote: I have a 141-byte, 81-step program that gives 12 digits of \(\pi\) in less than seven seconds on the real HP-42s and 34 digits instantly on my smartphone: 3.141592653589793238462643383279504 (the last digit should be a ‘3’), using the Wallis Product as a basis. These are achieved with only 8 and 24 iterations, respectively. I’ve managed to save a few bytes and steps by shamelessly borrowing part of J-M Baillard’s code. I will publish it here later, if you are interested.Interested? But of course! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)