MCPcopy 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>
8template <typename Number>
9Number quartic_root(Number x) {
10 return sqrt(sqrt(x));
11}
12int main() {
13 std::cout << quartic_root("Hello");
14}

Callers 1

mainFunction · 0.70

Calls 1

sqrtFunction · 0.70

Tested by

no test coverage detected