8 #ifndef __pbd_fastlog_h__
9 #define __pbd_fastlog_h__
20 union {
float f;
int i;} t;
22 int*
const exp_ptr = &t.i;
24 const int log_2 = ((x >> 23) & 255) - 128;
31 val = ((-1.0f/3) * t.f + 2) * t.f - 2.0f/3;
static float fast_log2(float val)
static float fast_log(const float val)
static float fast_log10(const float val)
static float minus_infinity(void)