summaryrefslogtreecommitdiffstats
path: root/tests/monotonic-system.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-system.c
parent9bfbf7832dd379a4a006d236fbeda27be7e13928 (diff)
downloadlibsandglass-18068cf26d34d28db8c70e26930cd842c3aecfb4.tar.xz
Show more accuracy in output of tests.
Diffstat (limited to 'tests/monotonic-system.c')
-rw-r--r--tests/monotonic-system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monotonic-system.c b/tests/monotonic-system.c
index e36c6c9..0774908 100644
--- a/tests/monotonic-system.c
+++ b/tests/monotonic-system.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;
}