This shift is undefined behavior (and, as compiled by clang, gives the
wrong answer for maxUIntN(64)).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
I'm not sure there isn't a better way to do this ( :-) ), but let's get correctness right first.