Lines Matching refs:scale
54 uintmax_t scale;
60 /* mul, scale, str, name */
78 get_tbl_ptr(const uintmax_t size, const int scale)
84 idx = scale < SC_AUTO ? scale : SC_AUTO;
101 convert(const uintmax_t size, const int scale)
105 tp = get_tbl_ptr(size, scale);
106 return ((double)size * tp->mul / tp->scale);
111 get_string(const uintmax_t size, const int scale)
115 tp = get_tbl_ptr(size, scale);