summaryrefslogtreecommitdiffstats
path: root/tests/monotonic-cputime.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-09-21 03:48:38 +0000
committerTavian Barnes <tavianator@gmail.com>2009-09-21 03:48:38 +0000
commit18068cf26d34d28db8c70e26930cd842c3aecfb4 (patch)
tree27f303426e62389d189a24e8137d3b3858ceadc2 /tests/monotonic-cputime.c
parent9bfbf7832dd379a4a006d236fbeda27be7e13928 (diff)
downloadlibsandglass-18068cf26d34d28db8c70e26930cd842c3aecfb4.tar.xz
Show more accuracy in output of tests.
Diffstat (limited to 'tests/monotonic-cputime.c')
-rw-r--r--tests/monotonic-cputime.c2
1 files changed, 1 insertions, 1 deletions
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;
}