electro-smith / DaisySP

A Powerful DSP Library in C++
https://www.electro-smith.com/daisy
Other
848 stars 134 forks source link

use constants from dsp.h throughout the modules #83

Closed AXP closed 3 years ago

AXP commented 3 years ago

Cosmetic consistency update. All modules are updated to use math constants from dsp.h, such as PI_F, TWOPI_F, HALFPI_F, etc. Also in several places implicit type casts were replaced by explicit ones to get rid of warnings.

stephenhensley commented 3 years ago

Awesome! I've been meaning to get to this for a quite a while and haven't made time.

Looks good, and build, examples, etc. all seem to check out.

Thanks for the contribution!!