double -> float changes for dsp snippets