Skip to content
Success

Changes

Summary

  1. Define isPowerOf2 utility methods for unsigned (commit: 2b5fd40) (details)
Commit 2b5fd403773e48a3c5d25b0960db808654736392 by Henry Zongaro
Define isPowerOf2 utility methods for unsigned

There are isPowerOf2 methods defined in Bit.hpp for int32_t and int64_t
values.  This change defines new isPowerOf2 methods for values of type
uint32_t and uint64_t.

Also added Doxygen comments for the various isPowerOf2 methods.

Signed-off-by:  Henry Zongaro <zongaro@ca.ibm.com>
(commit: 2b5fd40)
The file was modified compiler/infra/Bit.hpp (diff)