From 6f640d76e13cb643574b44b7498d51ecff6fb83e Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Sun, 22 Apr 2018 22:39:57 +0200 Subject: Add isnan() to proj_math.h Code updated to use isnan() instead of pj_is_nan(). --- src/proj_math.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/proj_math.h') 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) */ -- cgit v1.2.3