Hash :
1ab17d9f
Author :
Date :
2012-04-03T18:59:33
New module 'ilogb'. * lib/math.in.h (ilogb): New declaration. * lib/ilogb.c: New file. * m4/ilogb.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether ilogb is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_ILOGB, HAVE_ILOGB, REPLACE_ILOGB. * modules/math (Makefile.am): Substitute GNULIB_ILOGB, HAVE_ILOGB, REPLACE_ILOGB. * modules/ilogb: New file. * tests/test-math-c++.cc: Check the declaration of ilogb. * doc/posix-functions/ilogb.texi: Mention the new module.
Description:
ilogb() function: get exponent as integer.
Files:
lib/ilogb.c
m4/ilogb.m4
m4/mathfunc.m4
Depends-on:
math
isfinite [test $HAVE_ILOGB = 0 || test $REPLACE_ILOGB = 1]
frexp [test $HAVE_ILOGB = 0 || test $REPLACE_ILOGB = 1]
isnand [test $HAVE_ILOGB = 0 || test $REPLACE_ILOGB = 1]
configure.ac:
gl_FUNC_ILOGB
if test $HAVE_ILOGB = 0 || test $REPLACE_ILOGB = 1; then
AC_LIBOBJ([ilogb])
fi
gl_MATH_MODULE_INDICATOR([ilogb])
Makefile.am:
Include:
<math.h>
Link:
$(ILOGB_LIBM)
License:
LGPL
Maintainer:
Bruno Haible