Files
JaySynth/src/synth/fast_trig.h
T
2025-08-03 10:57:01 +02:00

32 lines
947 B
C

// --------------------------------------------------------------
#ifndef _FAST_TRIG_H_
#define _FAST_TRIG_H_
#include "synth_types.h"
// --------------------------------------------------------------
// Types
// --------------------------------------------------------------
// --------------------------------------------------------------
#if defined(__cplusplus)
extern "C" {
#endif
// --------------------------------------------------------------
// Exported functions
// --------------------------------------------------------------
synth_float_t FastTrig_cos_premult_pi(synth_float_t x);
synth_float_t FastTrig_sin(synth_float_t x);
synth_float_t FastTrig_cos(synth_float_t x);
synth_float_t FastTrig_exp(synth_float_t x);
synth_float_t FastTrig_exp_minus_1(synth_float_t x);
#if defined(__cplusplus)
}
#endif
// --------------------------------------------------------------
#endif // _FAST_TRIG_H_