From 6bc7601e8f6c83c8def86aa7ae7cf06f51593771 Mon Sep 17 00:00:00 2001 From: James McKenzie Date: Sat, 18 Feb 2023 18:48:42 +0000 Subject: remove all use of FP in printf as it's not thread safe --- app/time_fn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/time_fn.c') diff --git a/app/time_fn.c b/app/time_fn.c index 75b69d3..8c6c4f1 100644 --- a/app/time_fn.c +++ b/app/time_fn.c @@ -437,7 +437,7 @@ EPOCH time_ra_to_next_epoch (EPOCH l, double tra) int dog = 48; - printf ("time_ra_to_next_epoch %.9f\n", tra); + printf ("time_ra_to_next_epoch %s\n", fd1 (tra, 0, 1, 9)); /* XXX: we should use newton raphson, but */ /* 1) we're on team hooke */ -- cgit v1.2.3