MCPcopy Create free account
hub / github.com/fmtlib/fmt / countl_zero

Function countl_zero

include/fmt/format.h:445–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445FMT_CONSTEXPR20 inline auto countl_zero(uint32_t n) -> int {
446#ifdef FMT_BUILTIN_CLZ
447 if (!is_constant_evaluated()) return FMT_BUILTIN_CLZ(n);
448#endif
449 return countl_zero_fallback(n);
450}
451
452FMT_CONSTEXPR20 inline auto countl_zero(uint64_t n) -> int {
453#ifdef FMT_BUILTIN_CLZLL

Callers 4

TESTFunction · 0.85
assign_pow10Method · 0.85
format_hexfloatMethod · 0.85
format_floatMethod · 0.85

Calls 2

is_constant_evaluatedFunction · 0.85
countl_zero_fallbackFunction · 0.85

Tested by 1

TESTFunction · 0.68