N
Nico Coesel
[email protected] said:using the usual fixed point phase accumulator and then doing sin()
in float makes sense
but doing the phase accumutation in floats I'm not so sure about,
forever doing an accumulation modulo 2*pi sounds iffywith fixed point it is exact since 2^n is defined to be 2*pi
Floating point is always an approximation just like a fixed point
integer. In this case top few bits of a float will vary between 0 and
2pi. The top bits of an integer phase accumulator will vary between 0
and the length of the lookup table.