summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-05-13 19:47:58 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-05-13 22:05:32 +0200
commit625e870b4fb7ff4caf4d8a4614e9bda7c174b291 (patch)
tree733373c564bac30ae2c0f4e2a38ae6f44431e19c /m4
parentead349509e325aad720bb0349521a9e56e2ac7c0 (diff)
shared: add ALIGN_POWER2 macro
Sounds easy, turns out to be horrible to implement: ALIGN_POWER2 returns the next higher power of 2. clz(0) is undefined, same is true for left-shift-overflows, yey, C rocks!
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions