Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ pow2
Function
pow2
uspace/lib/cpp/include/__bits/builtins.hpp:55–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
54
template<class T>
55
constexpr double pow2(T exp)
56
{
57
return __builtin_pow(2.0, static_cast<double>(exp));
58
}
59
60
template<class T>
61
constexpr size_t pow2u(T exp)
Callers
5
seed
Method · 0.85
max
Method · 0.85
seed
Method · 0.85
seed
Method · 0.85
pow2u
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected