aboutsummaryrefslogtreecommitdiff
path: root/src/proj_math.h
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-22 22:39:57 +0200
committerKristian Evers <kristianevers@gmail.com>2018-04-23 10:26:14 +0200
commit6f640d76e13cb643574b44b7498d51ecff6fb83e (patch)
treeac17c997cf7efcea8854e3e1a616ede93ea07ebf /src/proj_math.h
parente197e40e9b9ae99b8dac569428af35036822dca2 (diff)
downloadPROJ-6f640d76e13cb643574b44b7498d51ecff6fb83e.tar.gz
PROJ-6f640d76e13cb643574b44b7498d51ecff6fb83e.zip
Add isnan() to proj_math.h
Code updated to use isnan() instead of pj_is_nan().
Diffstat (limited to 'src/proj_math.h')
-rw-r--r--src/proj_math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proj_math.h b/src/proj_math.h
index 0d28cb30..0108a439 100644
--- a/src/proj_math.h
+++ b/src/proj_math.h
@@ -39,10 +39,12 @@ extern "C" {
double pj_hypot(double x, double y);
double pj_log1p(double x);
double pj_asinh(double x);
+int pj_isnan(double x);
#define hypot pj_hypot
#define log1p pj_log1p
#define asinh pj_asinh
+#define isnan pj_isnan
#endif /* !(defined(HAVE_C99_MATH) && HAVE_C99_MATH) */