Merge: Int::is_pow2
authorJean Privat <jean@pryen.org>
Sun, 29 May 2016 20:35:56 +0000 (16:35 -0400)
committerJean Privat <jean@pryen.org>
Sun, 29 May 2016 20:35:56 +0000 (16:35 -0400)
Simple addition to `core`, the `is_pow2` method on Int tells whether an integer is a power of two.

Pull-Request: #2136
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge