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

  • 진행 현황: Closed
  • 상금: $40
  • 응모작 접수(건수): 1
  • 수상자: ambrozija

콘테스트 개요

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.

추천된 기술

고용주 피드백

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

프로필 이미지 rpxmike, United States.

공개 설명 게시판

  • rpxmike
    콘테스트 주최자
    • 8 년 전

    CONTEST CLOSED - WINNER SELECTED

    • 8 년 전

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)