smallpt: truncate result
Compare changes
Files
2+ 1
− 2
@@ -222,5 +222,4 @@ main = do
@@ -222,5 +222,4 @@ main = do
Current test does some floating-point manipulations which can be non-deterministic due to different platforms/architectures. This change truncates the result to avoid potential stdout mismatch.
fixes #23 (closed)