frac32buffer.bipolar in
frac32buffer out
float x0, x1, y0, y1;
x0 = y0 = 0;
x1 = x0;
y1 = y0;
x0 = arm::q_to_float(inlet_in, 27);
float f0 = fabs(x0) * x0; // f(x0)
y0 = (1.0f / 3) * f0 * x0; // F(x0)
float x1_x0 = x1 - x0;
if (fabs(x1_x0) > 0.001f) {
outlet_out = arm::float_to_q((y1 - y0) / (x1_x0), 27);
} else {
outlet_out = arm::float_to_q(f0, 27);
}