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-04.cpp:6–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include <cmath>
5
template <typename Number>
6
Number quartic_root(Number x) {
7
return sqrt(sqrt(x));
8
}
9
int main() {
10
std::cout << quartic_root((float)100)
11
<<
" "
<< quartic_root((double)100);
Callers
1
main
Function · 0.70
Calls
1
sqrt
Function · 0.70
Tested by
no test coverage detected