Guitarix
gx_faust_support.h File Reference
#include <cmath>
#include <algorithm>
#include "gx_resampler.h"
Include dependency graph for gx_faust_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define max(x, y)   (((x) > (y)) ? (x) : (y))
 
#define min(x, y)   (((x) < (y)) ? (x) : (y))
 
#define FAUSTFLOAT   float
 
#define N_(String)   (String)
 
#define NC_(Context, String)   (String)
 
#define always_inline   inline __attribute__((__always_inline__))
 

Functions

template<int N>
float faustpower (float x)
 
template<int N>
double faustpower (double x)
 
template<int N>
int faustpower (int x)
 
template<>
int faustpower< 0 > (int x)
 
template<>
int faustpower< 1 > (int x)
 
template<class T >
mydsp_faustpower2_f (T x)
 
template<class T >
mydsp_faustpower3_f (T x)
 
template<class T >
mydsp_faustpower4_f (T x)
 
template<class T >
mydsp_faustpower5_f (T x)
 
template<class T >
mydsp_faustpower6_f (T x)
 

Macro Definition Documentation

◆ always_inline

#define always_inline   inline __attribute__((__always_inline__))

◆ FAUSTFLOAT

◆ max

◆ min

◆ N_

◆ NC_

#define NC_ (   Context,
  String 
)    (String)

Definition at line 26 of file gx_faust_support.h.

Function Documentation

◆ faustpower() [1/3]

template<int N>
float faustpower ( float  x)
inline

Definition at line 8 of file gx_faust_support.h.

Referenced by faustpower().

◆ faustpower() [2/3]

template<int N>
double faustpower ( double  x)
inline

Definition at line 9 of file gx_faust_support.h.

◆ faustpower() [3/3]

template<int N>
int faustpower ( int  x)
inline

Definition at line 10 of file gx_faust_support.h.

◆ faustpower< 0 >()

template<>
int faustpower< 0 > ( int  x)
inline

Definition at line 11 of file gx_faust_support.h.

◆ faustpower< 1 >()

template<>
int faustpower< 1 > ( int  x)
inline

Definition at line 12 of file gx_faust_support.h.

◆ mydsp_faustpower2_f()

template<class T >
T mydsp_faustpower2_f ( x)
inline

Definition at line 15 of file gx_faust_support.h.

◆ mydsp_faustpower3_f()

template<class T >
T mydsp_faustpower3_f ( x)
inline

Definition at line 16 of file gx_faust_support.h.

◆ mydsp_faustpower4_f()

template<class T >
T mydsp_faustpower4_f ( x)
inline

Definition at line 17 of file gx_faust_support.h.

◆ mydsp_faustpower5_f()

template<class T >
T mydsp_faustpower5_f ( x)
inline

Definition at line 18 of file gx_faust_support.h.

◆ mydsp_faustpower6_f()

template<class T >
T mydsp_faustpower6_f ( x)
inline

Definition at line 19 of file gx_faust_support.h.