Fast Fourier transform: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: changed use of '''output''', removed "height" from 'style'. -- ~~~~)
Line 907: Line 907:
x=format(x,,digits()); if pos('.',x)\==0 then x=strip(x,'T',0)
x=format(x,,digits()); if pos('.',x)\==0 then x=strip(x,'T',0)
x=strip(x,,'.'); if x>=0 then x=' '||x;return left(x||j,digits()+4)</lang>
x=strip(x,,'.'); if x>=0 then x=' '||x;return left(x||j,digits()+4)</lang>
Output when using the default input of: <tt> 1 1 1 1 0 </tt>
'''output''' when using the default input of: <tt> 1 1 1 1 0 </tt>
<pre style="height:60ex;overflow:scroll">
<pre style="overflow:scroll">
numbers # real-part imaginary-part
numbers # real-part imaginary-part
═══════ ═ ═════════ ══════════════
═══════ ═ ═════════ ══════════════