From 18068cf26d34d28db8c70e26930cd842c3aecfb4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 21 Sep 2009 03:48:38 +0000 Subject: Show more accuracy in output of tests. --- tests/monotonic-cputime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/monotonic-cputime.c') diff --git a/tests/monotonic-cputime.c b/tests/monotonic-cputime.c index 7733a3a..d0a7de1 100644 --- a/tests/monotonic-cputime.c +++ b/tests/monotonic-cputime.c @@ -39,7 +39,7 @@ main() sandglass_bench(&sandglass, sandglass_spin(&tosleep)); - printf("%g\n", sandglass.grains/sandglass.resolution); + printf("%.15g\n", sandglass.grains/sandglass.resolution); return EXIT_SUCCESS; } -- cgit v1.2.3