|
|
|
|
|
by titzer
1926 days ago
|
|
It's a shame we can't see the rest of the code. What is happening to the result value? Is it being compared to something? Put into an array, or what? All of that code probably totally outweighs what you pointed out here. Or, at least it should. I have a bad feeling it might be being dead-code eliminated, since compilers are super aggressive about that nowadays, but I hope he's somehow controlled for that. |
|
godbolt clang compiles it to:
[1] https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/...