#include "proctext.h" #define LOG05 -0.693147180559945 /* log(0.5) */ float bias(float b, float x) { return powf(x, logf(b)/LOG05); }