added result for 12 digits

This commit is contained in:
Chris Boesch
2026-04-14 08:17:16 +02:00
parent b9cbe199ab
commit 5eadcdc9f9
2 changed files with 5 additions and 2 deletions

View File

@@ -105,3 +105,6 @@ fn thread_pi(pi: *f64, begin: u64, end: u64) !void {
// //
// And you should remove the formatting restriction in "print", // And you should remove the formatting restriction in "print",
// otherwise you will not be able to see the additional digits. // otherwise you will not be able to see the additional digits.
//
// If count = 10_000_000_000_000 you should see the following:
// 3.141592653589

View File

@@ -1,5 +1,5 @@
--- exercises/108_threading2.zig 2025-08-15 15:17:57.839348063 +0200 --- exercises/108_threading2.zig 2026-04-14 06:44:18.848246237 +0200
+++ answers/108_threading2.zig 2026-04-02 10:51:15.811831656 +0200 +++ answers/108_threading2.zig 2026-04-14 08:15:30.894485037 +0200
@@ -81,8 +81,8 @@ @@ -81,8 +81,8 @@
defer handle1.join(); defer handle1.join();