Searched refs:denom (Results 1 – 6 of 6) sorted by relevance
290 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument294 result.quot = numer / denom; in imaxdiv()295 result.rem = numer % denom; in imaxdiv()300 result.rem -= denom; in imaxdiv()
922 uint32_t denom; in resolv_get_dns_event_subsampling_map() local933 if (!ParseUint(rate_denom[1], &denom)) { in resolv_get_dns_event_subsampling_map()937 sampling_rate_map[return_code] = denom; in resolv_get_dns_event_subsampling_map()1817 uint32_t denom; in resolv_cache_get_subsampling_denom() local1819 denom = search_returnCode->second; in resolv_cache_get_subsampling_denom()1822 denom = (search_default == subsampling_map.end()) ? 0 : search_default->second; in resolv_cache_get_subsampling_denom()1824 return denom; in resolv_cache_get_subsampling_denom()
118 float denom = t1 * t4 - t0 * t5; in lineIntersect() local119 if (denom == 0) in lineIntersect()121 float u = (t3 * t4 + t5 * t2) / denom; in lineIntersect()
51 double percentage(uint64_t numer, uint64_t denom) { in percentage() argument52 return denom == 0 ? 0.0 : (static_cast<double>(numer) / static_cast<double>(denom)) * 100.0; in percentage()
1461 float denom = (fxx * fyy - fxy * fxy) * (float) 2.0; in db_SubPixel() local1466 if ( db_absf(denom) <= FLT_EPSILON ) in db_SubPixel()1475 float dx = (fyy * fx - fxy * fy) / denom; in db_SubPixel()1476 float dy = (fxx * fy - fxy * fx) / denom; in db_SubPixel()
2483 double denom = numer1 + numer2; in merge() local2486 / denom; in merge()2487 historicalVariance = numer1 * numer2 / denom; in merge()