RosettaCodeData/Task/Roots-of-a-function/Rust/roots-of-a-function-1.rust
2023-07-01 13:44:08 -04:00

10 lines
181 B
Text

// 202100315 Rust programming solution
use roots::find_roots_cubic;
fn main() {
let roots = find_roots_cubic(1f32, -3f32, 2f32, 0f32);
println!("Result : {:?}", roots);
}