PDQ Algorithm: Infinite precision best fraction within tolerance
|
02-24-2019, 08:36 PM
Post: #20
|
|||
|
|||
RE: PDQ Algorithm: Infinite precision best fraction within tolerance
(12-13-2013 05:09 AM)Joe Horn Wrote: PDQ Algorithm for HP Prime, by Joe Horn Finally inspired to try out PDQ on the Prime, but I could not get all the examples to work out. I'm using PDQ from hpcalc.org (https://www.hpcalc.org/details/7477) on a Prime with CAS ver 1.4.9 and ROM 2.1.14181. Example #1: works as advertised but, Example #2: pdq(\(\pi\),14) = \(\dfrac{111513555}{35495867}\) Example #3: pdq(\(\pi,\dfrac{13131}{10^{440}}\)) = \(\dfrac{27633741218861}{8796093022208}\) As with trying any new program my first thought is operator error (or some setting on the Prime). Another related question: For example #3, even though it appears that the return fraction accurately represents pi to about 436 decimal places, is it true that one is not actually getting pi to that accuracy, just a lot of zeros after the precision of pi within the Prime is reached (12 digits)? Thanks, Steve |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)