frac32buffer in
frac32buffer out
combo resolution
// __CLZ counts leading zeros
int32_t offset = 32 - __CLZ(abs(inlet_in)) - attr_resolution;
if (offset <= 0) {
outlet_out = inlet_in;
} else {
// erases some low bits depending of leading zeros and resolution
outlet_out = (inlet_in >> offset) << offset;
}