Find the bug - Code Translated Basic to C - Single File Short Subroutines

  • Estado: Closed
  • Premio: $40
  • Propuestas recibidas: 1
  • Ganador: ambrozija

Resumen del concurso

I've have some code that was translated from BASIC to C but there is a bug somewhere. Correctly identify the bug first!
No need to compile and test. Just review the code and identify the bug.

Source code in BASIC:
http://www.dspguide.com/ch12/3.htm (BASIC Line numbers in the 1000s)
http://www.dspguide.com/ch12/5.htm (BASIC Line numbers in the 3000s)

Translated code in C:
Compare the BASIC code in the links provided to the attached file: fft-bug.c

Symptom: The code compiles and runs but the output is not correct.

I'm expecting some small logic error or a +/- that is backwareds. Perhaps an int vs float problem.

Contest will be terminated once the problem is identified.
First to identify, wins.
In the event of multiple bugs/winners, I reserve the right to decide how the award is distributed.

Habilidades recomendadas

Comentarios del empleador

“This contest was to find a bug in a subroutine. He found it quickly and was correct about the issue. Recommended.”

Imagen del perfil rpxmike, United States.

Tablero de aclaración pública

  • rpxmike
    Organizador del concurso
    • 8 años atrás

    CONTEST CLOSED - WINNER SELECTED

    • 8 años atrás

Cómo comenzar con los concursos

  • Publica tu concurso

    Publica tu concurso Fácil y rápido

  • Recibe montones de propuestas

    Consigue toneladas de propuestas De todo el mundo

  • Elige la mejor propuesta

    Elige la mejor propuesta ¡Descarga fácilmente los archivos!

Publica un concurso ahora o únete a nosotros hoy