tweak a comment

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4201 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2011-07-01 18:12:35 +00:00
parent 2b443852fc
commit 46f2a33315
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ import com.ibm.wala.util.intset.Bits;
public class Logs {
/**
* @return true iff x == 2^n for some integral n
* @return true iff x == 2^n for some integer n
*/
public static boolean isPowerOf2(int x) {
if (x < 0) {
@ -60,7 +60,7 @@ public class Logs {
}
/**
* @param x where x == 2^n for some integral n
* @param x where x == 2^n for some integer n
*/
public static int log2(int x) throws IllegalArgumentException {
if (!isPowerOf2(x)) {