Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-rust-2e
/ quartic_root
Function
quartic_root
Source Code/19-05.cpp:9–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
#include <cmath>
8
template <typename Number>
9
Number quartic_root(Number x) {
10
return sqrt(sqrt(x));
11
}
12
int main() {
13
std::cout << quartic_root(
"Hello"
);
14
}
Callers
1
main
Function · 0.70
Calls
1
sqrt
Function · 0.70
Tested by
no test coverage detected