MCPcopy
hub / github.com/asm-js/validator / log2

Function log2

lib/validate.js:20–22  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

18
19// (number) -> number
20function log2(x) {
21 return log(x) / LOG2;
22}
23
24// (number) -> boolean
25function powerOf2(x) {

Callers 1

validate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected