RATIO
#define RATIO(x) ((x & 0xC000) >> 14)
#define RATIO(c, i, u) ((c) == 0? 1.0: (u) / ((double)(c) + (i)))