MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / isPowerOf2

Method isPowerOf2

ij/src/main/java/ij/process/FHT.java:653–657  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

651 }
652
653 public static boolean isPowerOf2(int n) {
654 int i=2;
655 while(i<n) i *= 2;
656 return i==n;
657 }
658
659 /** Returns a string containing information about this FHT. */
660 public String toString() {

Callers 3

showDialogMethod · 0.95
transform1DMethod · 0.95
inverseTransform1DMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected