Searched refs:exp10 (Results 1 – 2 of 2) sorted by relevance
951 const char *si_prefix(unsigned int exp10) in si_prefix() argument957 exp10 += 18; in si_prefix()958 assert(exp10 % 3 == 0 && exp10 / 3 < ARRAY_SIZE(prefixes)); in si_prefix()959 return prefixes[exp10 / 3]; in si_prefix()997 size_t exp10 = 0; in freq_to_str() local1001 exp10 += 3; in freq_to_str()1004 return g_strdup_printf("%0.3g %sHz", freq, si_prefix(exp10)); in freq_to_str()
11 const char *si_prefix(unsigned int exp10);