aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2011-02-08 23:27:54 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2011-02-08 23:27:54 +0000
commit5c012e674b5a149312973f626ab2913f8fd0ae29 (patch)
tree5521e9cacadf39c6118af7bc48557fb989cca1c4 /src
parent98ea774575d9a21f7a9d975c2aa67fdb548458e2 (diff)
downloadPROJ-5c012e674b5a149312973f626ab2913f8fd0ae29.tar.gz
PROJ-5c012e674b5a149312973f626ab2913f8fd0ae29.zip
adjust precision of constants (#93)
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1966 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-rw-r--r--src/pj_auth.c12
1 files changed, 6 insertions, 6 deletions
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 <projects.h>
-# 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) {