I had a question, maybe for Brady, on a calculation he does in fsk.c.

In lines 1029 - 1036:

https://sourceforge.net/p/freetel/code/HEAD/tree/codec2-dev/src/fsk.c#l1029

you do a series of calculations.

y.real = t1.real - c.real;
y.imag = t1.imag - c.imag;

t.real = t2.real + y.real;
t.imag = t2.imag + y.imag;

c.real = (t.real-t2.real) - y.real;
c.imag = (t.imag-t2.imag) - y.imag;

Rewriting 'c' (substituting 't') I get:

c.real = ((t2.real + y.real) - t2.real) - y.real;

I guess my question is, are you looking for floating point inaccuracy, and
then subtracting any on the next loop?

I was thinking, that otherwise 'c' would always be zero. I'm only on my
first cup of joe though :-)

73,
Steve
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to