mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-27 12:30:06 +00:00
Remove accidental parenthesis (#1968)
fails only when FMT_BUILTIN_CTZLL is not defined
This commit is contained in:
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
|
||||
return FMT_BUILTIN_CTZLL(x) >= exp;
|
||||
#else
|
||||
return exp < num_bits<uint64_t>()) && x == ((x >> exp) << exp);
|
||||
return exp < num_bits<uint64_t>() && x == ((x >> exp) << exp);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user