Hash :
6d273f72
Author :
Date :
2011-10-11T02:11:21
logl: Simplify for platforms where 'long double' == 'double'. * lib/logl.c (logl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative implementation. * m4/logl.m4 (gl_FUNC_LOGL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine LOGL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/logl (Depends-on): Add log. Update conditions.
Description:
logl() function: logarithm with long double argument.
Files:
lib/logl.c
m4/logl.m4
Depends-on:
math
extensions
log [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
frexpl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floorl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_LOGL
if test $HAVE_LOGL = 0; then
AC_LIBOBJ([logl])
fi
gl_MATH_MODULE_INDICATOR([logl])
Makefile.am:
Include:
<math.h>
Link:
$(LOGL_LIBM)
License:
LGPL
Maintainer:
Paolo Bonzini