Hash :
98d50dd6
Author :
Date :
2012-03-07T03:29:32
New module 'exp2'. * lib/math.in.h (exp2): New declaration. * lib/exp2.c: New file. * m4/exp2.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether exp2 is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2, HAVE_DECL_EXP2, REPLACE_EXP2. * modules/math (Makefile.am): Substitute GNULIB_EXP2, HAVE_DECL_EXP2, REPLACE_EXP2. * modules/exp2: New file. * tests/test-math-c++.cc: Check the declaration of exp2. * doc/posix-functions/exp2.texi: Mention the new module and the IRIX and OpenBSD problems.
Description:
exp2() function: exponential base 2 function.
Files:
lib/exp2.c
m4/exp2.m4
m4/mathfunc.m4
Depends-on:
math
extensions
isnand [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1]
round [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1]
ldexp [test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1]
configure.ac:
gl_FUNC_EXP2
if test $HAVE_EXP2 = 0 || test $REPLACE_EXP2 = 1; then
AC_LIBOBJ([exp2])
fi
gl_MATH_MODULE_INDICATOR([exp2])
Makefile.am:
Include:
<math.h>
Link:
$(EXP2_LIBM)
License:
LGPL
Maintainer:
Bruno Haible