Searched refs:frac (Results 1 – 2 of 2) sorted by relevance
40 #define Q(frac,fval) ((coap_tick_t)(((1 << (frac)) * (fval)))) argument46 #define SHR_FP(val,frac) (((val) + (1 << ((frac) - 1))) >> (frac)) argument
107 #define Q(frac,fval) ((unsigned short)(((1 << (frac)) * (fval)))) argument683 #define SHR_FP(val,frac) (((val) + (1 << ((frac) - 1))) >> (frac)) in calc_timeout() argument