FFT Multiplication (HP-48G/GX/G+)
|
02-10-2014, 10:02 PM
(This post was last modified: 02-11-2014 08:16 AM by Gerson W. Barbosa.)
Post: #2
|
|||
|
|||
RE: FFT Multiplication (HP-48G/GX/G+)
(02-10-2014 09:25 PM)Gerson W. Barbosa Wrote: . My HP-48GX is about 50% slower than the HP-71B when multiplying two 512-digit numbers (173 seconds versus 117 seconds). Two 256-digit numbers, actually, giving a 512-digit result. Sorry for the mistake. (02-10-2014 09:25 PM)Gerson W. Barbosa Wrote: However, I've found a discrepancy in this example: This should be fixed by inserting the following instructions between RE and IP in the code above, at the end of the second line after the IFFT command: Code:
More tests have to be made, though. P.S.: .05 is better. No problem with 640-digit results (128 groups of 5 digits, constants replaced with 100,000), at least for the few examples I tried. P.P.S.: Replacing RE IP with RE 0 RND is even better. Actually that's what should've been done in the first place if somehow I hadn't mistaken IROUND with IP. Since the HP-48 built-in IFFTis more accurate than the implementation using FOUR on the HP-71B it is possible groups of 5 digits rather than 4 can be used for up to 1000-digit results. A few empirical tests, as described in the last page of Valentin's article, should be made before we can be sure, however. Here is the fixed code: Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)