summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-02-21 13:10:58 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-02-21 13:10:58 +0000
commitd8204b3754ac281469a2641934e9e85b120e44f6 (patch)
tree63c351a47b941417d92bb610141921a005850fa2 /gps.h
parent837c10065d407af53db7ee5919f2993384b3f765 (diff)
downloadgpsd-d8204b3754ac281469a2641934e9e85b120e44f6.tar.gz
Precision changes.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 543b012f..10a981de 100644
--- a/gps.h
+++ b/gps.h
@@ -136,7 +136,7 @@ void gps_set_raw_hook(struct gps_data_t *gpsdata, void (*hook)(char *buf));
#define METERS_TO_MILES 0.00062137119 /* International miles */
#define KNOTS_TO_MPH 1.1507794 /* International miles and knots */
#define KNOTS_TO_KPH 1.852 /* International knots */
-#define PI 3.14159265358979323846 /* for radians-to-degrees and vv. */
+#define PI 3.1415926535897932384626433832795029L /* for radians-to-degrees and vv. */
/* gps_open() error return values */
#define NL_NOSERVICE -1 /* can't get service entry */