aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
authorCharles Karney <charles@karney.com>2015-10-05 13:34:01 -0400
committerCharles Karney <charles@karney.com>2015-10-05 13:34:01 -0400
commitbe4798bc5eff6d564ed20d329996384d8afcb2d5 (patch)
treebba4e9126a4f00496f6272fba0faaeb6ad0dec61 /src/proj_api.h
parent2b6c15d27defbdd0d9d08b5ad6101649e62c57ad (diff)
parent7b30a05ab90cf122c5818c8eb04101687d4dd2f3 (diff)
downloadPROJ-be4798bc5eff6d564ed20d329996384d8afcb2d5.tar.gz
PROJ-be4798bc5eff6d564ed20d329996384d8afcb2d5.zip
Merge pull request #289 from cffk/dmstor-fix
Fix the constants used for degree/radian conversions.
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index 99faeafb..9e1e49a8 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -46,8 +46,8 @@ extern "C" {
extern char const pj_release[]; /* global release id string */
-#define RAD_TO_DEG 57.29577951308232
-#define DEG_TO_RAD .0174532925199432958
+#define RAD_TO_DEG 57.295779513082321
+#define DEG_TO_RAD .017453292519943296
extern int pj_errno; /* global error return code */