Browse Source

fix incorrect comment

dds
PaulStoffregen 8 years ago
parent
commit
4fd916d7fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      synth_sine.cpp

+ 1
- 1
synth_sine.cpp View File

sum = multiply_subtract_32x32_rshift32_rounded(p1, p3, 1431655765); // sum: 2.30 sum = multiply_subtract_32x32_rshift32_rounded(p1, p3, 1431655765); // sum: 2.30
p5 = multiply_32x32_rshift32_rounded(p3, p2); // p5: 6.26 p5 = multiply_32x32_rshift32_rounded(p3, p2); // p5: 6.26
sum = multiply_accumulate_32x32_rshift32_rounded(sum, p5, 572662306); sum = multiply_accumulate_32x32_rshift32_rounded(sum, p5, 572662306);
p7 = multiply_32x32_rshift32_rounded(p5, p2); // p7: 9.22
p7 = multiply_32x32_rshift32_rounded(p5, p2); // p7: 9.23
sum = multiply_subtract_32x32_rshift32_rounded(sum, p7, 109078534); sum = multiply_subtract_32x32_rshift32_rounded(sum, p7, 109078534);
p9 = multiply_32x32_rshift32_rounded(p7, p2); // p9: 12.20 p9 = multiply_32x32_rshift32_rounded(p7, p2); // p9: 12.20
sum = multiply_accumulate_32x32_rshift32_rounded(sum, p9, 12119837); sum = multiply_accumulate_32x32_rshift32_rounded(sum, p9, 12119837);

Loading…
Cancel
Save