Confirmed users
1,345
edits
Nnethercote (talk | contribs) |
Nnethercote (talk | contribs) |
||
| Line 32: | Line 32: | ||
while ( i < bufferSize ) { | while ( i < bufferSize ) { | ||
off = i + halfSize; | off = i + halfSize; | ||
tr = (currentPhaseShiftReal * real[off]) - (currentPhaseShiftImag * imag | tr = (currentPhaseShiftReal * real[off]) - (currentPhaseShiftImag * imag[off]); | ||
[off]); | ti = (currentPhaseShiftReal * imag[off]) + (currentPhaseShiftImag * real[off]); | ||
ti = (currentPhaseShiftReal * imag[off]) + (currentPhaseShiftImag * real | |||
[off]); | |||
real[off] = real[i] - tr; | real[off] = real[i] - tr; | ||