smallpt: truncate result
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)
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)