[DiscordArchive] anything interesting in these files?
[DiscordArchive] anything interesting in these files?
Archived author: Quantam • Posted: 2018-06-14T00:20:21.387000+00:00
Original source
https://stackoverflow.com/a/11398748/3574457
[Embed: Fast computing of log2 for 64-bit integers]
A great programming resource, Bit Twiddling Hacks, proposes (here) the following method to compute log2 of a 32-bit integer:
#define LT(n) n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n
static const
https://stackoverflow.com/a/11398748/3574457
Archived author: Quantam • Posted: 2018-06-14T00:26:32.511000+00:00
Original source
That is quite some math