aboutsummaryrefslogtreecommitdiff
path: root/src/geodesic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geodesic.c')
-rw-r--r--src/geodesic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/geodesic.c b/src/geodesic.c
index 5cb273ac..9904c7fa 100644
--- a/src/geodesic.c
+++ b/src/geodesic.c
@@ -243,8 +243,7 @@ static void sincosdx(real x, real* sinx, real* cosx) {
r = remquo(x, (real)(90), &q);
#else
r = fmod(x, (real)(360));
- /* check for NaN -- do not use pj_is_nan, since we want geodesic.c not to
- * depend on the rest of proj.4 */
+ /* check for NaN */
q = r == r ? (int)(floor(r / 90 + (real)(0.5))) : 0;
r -= 90 * q;
#endif