From 78d645656a477e5c216b8d8b18a9d85dbd648627 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 11 Sep 1998 14:07:04 +0000 Subject: be more precise for PI, as per PR5867 --- pom/pom.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pom/pom.c b/pom/pom.c index 6c30a70b..050c937a 100644 --- a/pom/pom.c +++ b/pom/pom.c @@ -1,4 +1,4 @@ -/* $NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $ */ +/* $NetBSD: pom.c,v 1.11 1998/09/11 14:07:04 hubertf Exp $ */ /* * Copyright (c) 1989, 1993 @@ -45,7 +45,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $"); +__RCSID("$NetBSD: pom.c,v 1.11 1998/09/11 14:07:04 hubertf Exp $"); #endif #endif /* not lint */ @@ -68,7 +68,9 @@ __RCSID("$NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $"); #include #include -#define PI 3.141592654 +#ifndef PI +#define PI 3.14159265358979323846 +#endif #define EPOCH 85 /* really 1985 */ #define EPSILONg 279.611371 /* solar ecliptic long at EPOCH */ #define RHOg 282.680403 /* solar ecliptic long of perigee at EPOCH */ -- cgit v1.2.3-56-ge451