fuzzer ui: remove wrong optimized float mode

Some of the stats used as denomenators may be at zero, especially if a
fuzz test is stuck in an infinite loop, so allowing float division by
zero is necessary.
This commit is contained in:
Kendall Condon
2026-03-11 21:26:00 -04:00
parent 5ecef2934a
commit 9d1e47d220
+1 -1
View File
@@ -255,7 +255,7 @@ fn unpackSourcesInner(tar_bytes: []u8) !void {
}
fn updateStats() error{OutOfMemory}!void {
@setFloatMode(.optimized);
// No @setFloatMode(.optimized) since some stats may be at zero and lead to divisions by zero
if (recent_coverage_update.items.len == 0) return;