From eefbfcdfc2f2374dcba95a62c31f3162e2247853 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Fri, 16 Jan 2026 16:48:41 +0100 Subject: Print all results when finished, make printing prettier. --- charf.c | 13 ++++++++----- double-error.c | 2 ++ double-error.h | 2 ++ double.c | 2 ++ double.h | 2 ++ ratio.c | 2 ++ ratio.h | 3 ++- 7 files changed, 20 insertions(+), 6 deletions(-) diff --git a/charf.c b/charf.c index e9b3ba7..b635391 100644 --- a/charf.c +++ b/charf.c @@ -171,7 +171,7 @@ void format_result(char* s, int index, int k, EXPTYPE p, VALUETYPE r){ for(int i=d; i cont))++; + if(*(args -> cont) >= NUM_THREADS) printf("Calculation finished. Press any button to stop.\n"); } int main() { @@ -290,6 +292,7 @@ int main() { for(int k=0; k<=K; k++) for(int p=0; p