41Z Routine of the week: DFT
|
03-01-2017, 05:05 PM
(This post was last modified: 08-11-2017 05:09 AM by Ángel Martin.)
Post: #3
|
|||
|
|||
RE: 41Z Routine of the week: DFT
Good catch Greg, thanks for the warning. Indeed using "E" is not a good idea if register P is also used for storage, I had completely forgotten about that... since I moved to the all-MCODE version in the updated module attached ;-)
So just change the "E" to a "1" and the program should work fine. Here's an alternative FOCAL version that should always work, just to close this issue. It does the intermediate multiplication in-situ so registers R00 and R01 are free to use now. Code: 01 LBL "ZDFT" Latest revision of the 41Z deluxe is attached. Cheers, Ángel "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
41Z Routine of the week: DFT - Ángel Martin - 02-22-2017, 01:54 PM
RE: 41Z Routine of the week: DFT - gjmcclure - 03-01-2017, 08:26 AM
RE: 41Z Routine of the week: DFT - Ángel Martin - 03-01-2017 05:05 PM
|
User(s) browsing this thread: 1 Guest(s)