MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / quartic_root_f32

Function quartic_root_f32

Source Code/19-02.rs:6–6  ·  view source on GitHub ↗
(x: f32)

Source from the content-addressed store, hash-verified

4fn main() {
5 fn quartic_root_f64(x: f64) -> f64 { x.sqrt().sqrt() }
6 fn quartic_root_f32(x: f32) -> f32 { x.sqrt().sqrt() }
7 print!("{} {}",
8 quartic_root_f64(100f64),
9 quartic_root_f32(100f32));

Callers

nothing calls this directly

Calls 1

sqrtMethod · 0.45

Tested by

no test coverage detected