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X - 1
C2=%	%XX_ENTREE1_XX_Register_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX]=XX_ENTREE1_XX_Register_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]
C3=NEXT N_XX_NUMFCT1_XX
C4=XX_ENTREE1_XX_Register_XX_NUMFCT1_XX[NB_PTS_FFT2_XX_NUMFCT1_XX] = XX_ENTREE1_XX
C5=FOR N_XX_NUMFCT1_XX = 0 TO NB_PTS_FFT_XX_NUMFCT1_XX - 1
C6=%   %reFFTTemp_XX_NUMFCT1_XX = XX_PARAM2_XX*reFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]
C7=%   %reFFTTemp_XX_NUMFCT1_XX = reFFTTemp_XX_NUMFCT1_XX + (XX_ENTREE1_XX_Register_XX_NUMFCT1_XX[NB_PTS_FFT2_XX_NUMFCT1_XX] - XX_ENTREE1_XX_Register_XX_NUMFCT1_XX[1])/NB_PTS_FFT2_XX_NUMFCT1_XX
C8=%   %imFFTTemp_XX_NUMFCT1_XX = XX_PARAM2_XX*imFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]
C9=%   %reFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1] = tabCos_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*reFFTTemp_XX_NUMFCT1_XX - tabSin_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*imFFTTemp_XX_NUMFCT1_XX
C10=%   %imFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1] = tabSin_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*reFFTTemp_XX_NUMFCT1_XX + tabCos_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*imFFTTemp_XX_NUMFCT1_XX
C11=%	%XX_SORTIE1_XX[N_XX_NUMFCT1_XX + 1] = SQRT(reFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*reFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1] + imFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1]*imFFT_XX_NUMFCT1_XX[N_XX_NUMFCT1_XX + 1])
C12=NEXT N_XX_NUMFCT1_XX