From 18753cb7a7af22725032c1a18748c8efb9cf7efa Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 30 Mar 2017 11:46:03 -0500 Subject: [PATCH] Also fix `jn/2` and `yn/2` --- configure.ac | 2 ++ src/libm.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3d7d8b29b4..e6ca29da86 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,7 @@ AC_CHECK_MATH_FUNC(gamma,[.5]) AC_CHECK_MATH_FUNC(hypot, [.5,.5]) AC_CHECK_MATH_FUNC(j0, [.5]) AC_CHECK_MATH_FUNC(j1, [.5]) +AC_CHECK_MATH_FUNC(jn, [1,.5]) AC_CHECK_MATH_FUNC(ldexp,[.5,2]) AC_CHECK_MATH_FUNC(lgamma,[.5]) AC_CHECK_MATH_FUNC(log10, [.5]) @@ -208,6 +209,7 @@ AC_CHECK_MATH_FUNC(tgamma, [.5]) AC_CHECK_MATH_FUNC(trunc,[.5]) AC_CHECK_MATH_FUNC(y0, [.5]) AC_CHECK_MATH_FUNC(y1, [.5]) +AC_CHECK_MATH_FUNC(yn, [1,.5]) dnl Thread local storage have___thread=no diff --git a/src/libm.h b/src/libm.h index fe2bb79ee1..b1db788284 100644 --- a/src/libm.h +++ b/src/libm.h @@ -144,10 +144,10 @@ LIBM_DD(y1) LIBM_DD_NO(y1) #endif #ifdef HAVE_JN -LIBM_DID(jn) +LIBM_DDD(jn) #endif #ifdef HAVE_YN -LIBM_DID(yn) +LIBM_DDD(yn) #endif #ifdef HAVE_CEIL LIBM_DD(ceil)