macro_rules! r_gain {
    ($x: expr, $coarse: expr) => { ... };
}