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

Method log2

ij/src/main/java/ij/process/FHT.java:369–374  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

367 }
368
369 int log2 (int x) {
370 int count = 31;
371 while (!btst(x, count))
372 count--;
373 return count;
374 }
375
376
377 private boolean btst (int x, int bit) {

Callers 2

makeBitReverseTableMethod · 0.95
dfht3Method · 0.95

Calls 1

btstMethod · 0.95

Tested by

no test coverage detected