Hash :
6e3a819d
Author :
Date :
2012-03-11T17:57:12
New module 'log2f'. * lib/math.in.h (log2f): New declaration. * lib/log2f.c: New file. * m4/log2f.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether log2f is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2F, HAVE_DECL_LOG2F, REPLACE_LOG2F. * modules/math (Makefile.am): Substitute GNULIB_LOG2F, HAVE_DECL_LOG2F, REPLACE_LOG2F. * modules/log2f: New file. * tests/test-math-c++.cc: Check the declaration of log2f. * doc/posix-functions/log2f.texi: Mention the new module and the IRIX and OSF/1 and Cygwin problems.
Description:
log2f() function: base 2 logarithm.
Files:
lib/log2f.c
m4/log2f.m4
Depends-on:
math
extensions
log2 [test $HAVE_LOG2F = 0 || test $REPLACE_LOG2F = 1]
isnanf [test $HAVE_LOG2F = 0 || test $REPLACE_LOG2F = 1]
frexpf [test $HAVE_LOG2F = 0 || test $REPLACE_LOG2F = 1]
logf [test $HAVE_LOG2F = 0 || test $REPLACE_LOG2F = 1]
configure.ac:
gl_FUNC_LOG2F
if test $HAVE_LOG2F = 0 || test $REPLACE_LOG2F = 1; then
AC_LIBOBJ([log2f])
fi
gl_MATH_MODULE_INDICATOR([log2f])
Makefile.am:
Include:
<math.h>
Link:
$(LOG2F_LIBM)
License:
LGPL
Maintainer:
Bruno Haible