forked from fmtlib/fmt
Remove accidental parenthesis (#1968)
fails only when FMT_BUILTIN_CTZLL is not defined
This commit is contained in:
committed by
Victor Zverovich
parent
5c04504932
commit
69a84198b0
@ -1756,7 +1756,7 @@ inline bool divisible_by_power_of_2(uint64_t x, int exp) FMT_NOEXCEPT {
|
|||||||
#ifdef FMT_BUILTIN_CTZLL
|
#ifdef FMT_BUILTIN_CTZLL
|
||||||
return FMT_BUILTIN_CTZLL(x) >= exp;
|
return FMT_BUILTIN_CTZLL(x) >= exp;
|
||||||
#else
|
#else
|
||||||
return exp < num_bits<uint64_t>()) && x == ((x >> exp) << exp);
|
return exp < num_bits<uint64_t>() && x == ((x >> exp) << exp);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user