diff options
Diffstat (limited to 'src/aasincos.c')
| -rw-r--r-- | src/aasincos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aasincos.c b/src/aasincos.c index 627ec14e..c3915613 100644 --- a/src/aasincos.c +++ b/src/aasincos.c @@ -9,7 +9,7 @@ aasin(projCtx ctx,double v) { if ((av = fabs(v)) >= 1.) { if (av > ONE_TOL) - pj_ctx_set_errno( ctx, -19 ); + pj_ctx_set_errno( ctx, PJD_ERR_ACOS_ASIN_ARG_TOO_LARGE ); return (v < 0. ? -M_HALFPI : M_HALFPI); } return asin(v); @@ -21,7 +21,7 @@ aacos(projCtx ctx, double v) { if ((av = fabs(v)) >= 1.) { if (av > ONE_TOL) - pj_ctx_set_errno( ctx, -19 ); + pj_ctx_set_errno( ctx, PJD_ERR_ACOS_ASIN_ARG_TOO_LARGE ); return (v < 0. ? M_PI : 0.); } return acos(v); |
