diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2016-06-01 21:49:36 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2016-06-01 21:49:36 +0200 |
| commit | 7e2254310615a2830e1ecfd5d7538227b01d5657 (patch) | |
| tree | 4263bc2ff9b8bec1a42e3903ef791db0c822653b /src/rtodms.c | |
| parent | 808d6383ba175b05ac80ec9bf0daad77c36cf4be (diff) | |
| parent | 05f802717a9f4e1d25754c94d518ebdd9ae5eb61 (diff) | |
| download | PROJ-7e2254310615a2830e1ecfd5d7538227b01d5657.tar.gz PROJ-7e2254310615a2830e1ecfd5d7538227b01d5657.zip | |
Merge pull request #387 from micahcochran/math_constants2
Change math constants, similar to PR #372. Use M_ namespace with theā¦
Diffstat (limited to 'src/rtodms.c')
| -rw-r--r-- | src/rtodms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtodms.c b/src/rtodms.c index fa7801c5..fa5c3cd1 100644 --- a/src/rtodms.c +++ b/src/rtodms.c @@ -25,7 +25,7 @@ set_rtodms(int fract, int con_w) { for (i = 0; i < fract; ++i) RES *= 10.; RES60 = RES * 60.; - CONV = 180. * 3600. * RES / PI; + CONV = 180. * 3600. * RES / M_PI; if (! con_w) (void)sprintf(format,"%%dd%%d'%%.%df\"%%c", fract); else |
