Hash :
150ee3a6
Author :
Date :
2011-10-11T00:00:31
expl: Simplify for platforms where 'long double' == 'double'. * lib/expl.c (expl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative implementation. * m4/expl.m4 (gl_FUNC_EXPL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine EXPL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/expl (Depends-on): Add exp. Update conditions.
Description:
expl() function: exponential function with long double argument.
Files:
lib/expl.c
m4/expl.m4
Depends-on:
math
extensions
exp [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floorl [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_EXPL
if test $HAVE_EXPL = 0; then
AC_LIBOBJ([expl])
fi
gl_MATH_MODULE_INDICATOR([expl])
Makefile.am:
Include:
<math.h>
Link:
$(EXPL_LIBM)
License:
LGPL
Maintainer:
Paolo Bonzini