Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ ispow2
Function
ispow2
include/rack0.hpp:29–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
return eucMod(a, base);
28
}
29
DEPRECATED inline bool ispow2(int n) {
30
return isPow2(n);
31
}
32
DEPRECATED inline int clamp2(int x, int a, int b) {
33
return clampSafe(x, a, b);
34
}
Callers
nothing calls this directly
Calls
1
isPow2
Function · 0.85
Tested by
no test coverage detected