From 9e6eab77e2a74bc1a48b87887251457f3f76e9ca Mon Sep 17 00:00:00 2001 From: eiiko6 Date: Thu, 26 Mar 2026 10:12:24 +0100 Subject: [PATCH] added 2 decimals to parallel scaling --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 33025ec..2474feb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,9 +131,9 @@ fn main() { print_detailed_result(&multithread_benchmark); let multi_thread_speedup_ratio = if singlethread_benchmark.score > 0 { - multithread_benchmark.score / singlethread_benchmark.score + multithread_benchmark.score as f32 / singlethread_benchmark.score as f32 } else { - 0 + 0.0 }; let scaling_color_formatter =