From 5c012e674b5a149312973f626ab2913f8fd0ae29 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Tue, 8 Feb 2011 23:27:54 +0000 Subject: adjust precision of constants (#93) git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1966 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/pj_auth.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/pj_auth.c b/src/pj_auth.c index 189e426c..35178418 100644 --- a/src/pj_auth.c +++ b/src/pj_auth.c @@ -1,11 +1,11 @@ /* determine latitude from authalic latitude */ #include -# define P00 .33333333333333333333 -# define P01 .17222222222222222222 -# define P02 .10257936507936507936 -# define P10 .06388888888888888888 -# define P11 .06640211640211640211 -# define P20 .01641501294219154443 +# define P00 .33333333333333333333 /* 1 / 3 */ +# define P01 .17222222222222222222 /* 31 / 180 */ +# define P02 .10257936507936507937 /* 517 / 5040 */ +# define P10 .06388888888888888888 /* 23 / 360 */ +# define P11 .06640211640211640212 /* 251 / 3780 */ +# define P20 .01677689594356261023 /* 761 / 45360 */ #define APA_SIZE 3 double * pj_authset(double es) { -- cgit v1.2.3