From 5eadcdc9f9b991d331c02a79bdfa7c0a3d35bb17 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Tue, 14 Apr 2026 08:17:16 +0200 Subject: [PATCH] added result for 12 digits --- exercises/108_threading2.zig | 3 +++ patches/patches/108_threading2.patch | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/exercises/108_threading2.zig b/exercises/108_threading2.zig index 374391a..bbf8d78 100644 --- a/exercises/108_threading2.zig +++ b/exercises/108_threading2.zig @@ -105,3 +105,6 @@ fn thread_pi(pi: *f64, begin: u64, end: u64) !void { // // And you should remove the formatting restriction in "print", // 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 diff --git a/patches/patches/108_threading2.patch b/patches/patches/108_threading2.patch index d71f254..c06a985 100644 --- a/patches/patches/108_threading2.patch +++ b/patches/patches/108_threading2.patch @@ -1,5 +1,5 @@ ---- exercises/108_threading2.zig 2025-08-15 15:17:57.839348063 +0200 -+++ answers/108_threading2.zig 2026-04-02 10:51:15.811831656 +0200 +--- exercises/108_threading2.zig 2026-04-14 06:44:18.848246237 +0200 ++++ answers/108_threading2.zig 2026-04-14 08:15:30.894485037 +0200 @@ -81,8 +81,8 @@ defer handle1.join();