1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Files
gnulib/modules/exp2
Bruno Haible 98d50dd607 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.
2012-03-09 02:15:34 +01:00

36 lines
558 B
Plaintext

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