Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ pow4
Function
pow4
Examples/NoModules/Chapter 11/Ex11_06/Ex11_06.cpp:10–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
const double sqrt2{ 1.414213562373095 }; // the square root of 2
9
auto square(const auto& x) { return x * x; }
10
auto pow4(const auto& x) { return square(square(x)); }
11
}
12
13
int main()
Callers
nothing calls this directly
Calls
1
square
Function · 0.70
Tested by
no test coverage detected