diff options
| author | Charles Karney <charles@karney.com> | 2015-08-13 13:11:58 -0400 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2015-08-13 13:11:58 -0400 |
| commit | 86b2155cf14a205951a41cc2ce8d574feedde03a (patch) | |
| tree | 09403834c66ba933fd7fa398c21841f4d046287d /docs/plot | |
| parent | 6c16367e152747133bba7a8fbcdbabef1232cd93 (diff) | |
| download | PROJ-86b2155cf14a205951a41cc2ce8d574feedde03a.tar.gz PROJ-86b2155cf14a205951a41cc2ce8d574feedde03a.zip | |
Fix the constants used for degree/radian conversions.
In dmstor.c an inaccurate constant was used for pi/180. This meant that
90deg converted to radians and back to degrees gave a result which was
larger than 90deg. The constant has been replaced by DEG_TO_RAD
(defined in proj_api.h).
In rtodms.c, the trailing digits in CONV were wrong; the constant has
been truncated so that all the digits are corrent.
Diffstat (limited to 'docs/plot')
0 files changed, 0 insertions, 0 deletions
