Hash :
2394a603
Author :
Date :
2011-10-11T11:15:59
atanl: Simplify for platforms where 'long double' == 'double'. * lib/atanl.c (atanl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative implementation. * m4/atanl.m4 (gl_FUNC_ATANL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine ATANL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/atanl (Depends-on): Add atan. Update conditions.
Description:
atanl() function: inverse tangent function with long double argument.
Files:
lib/atanl.c
m4/atanl.m4
Depends-on:
math
extensions
atan [test $HAVE_ATANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
isnanl [test $HAVE_ATANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_ATANL
if test $HAVE_ATANL = 0; then
AC_LIBOBJ([atanl])
fi
gl_MATH_MODULE_INDICATOR([atanl])
Makefile.am:
Include:
<math.h>
Link:
$(ATANL_LIBM)
License:
LGPL
Maintainer:
Paolo Bonzini