Function surge_wavetable::imports::imports::imports::fastsin[][src]

pub fn fastsin(x: f32) -> f32
Expand description
  • Fast Math Approximations to various Functions
  • Documentation on each one
  • These are directly copied from JUCE6 modules/juce_dsp/mathos/juce_FastMathApproximations.h
  • Since JUCE6 is GPL3 and Surge is GPL3 that copy is fine, but I did want to explicitly
  • acknowledge it JUCE6 Pade approximation of sin valid from -PI to PI with max error of 1e-5 and average error of 5e-7