mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* 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.
35 lines
558 B
Plaintext
35 lines
558 B
Plaintext
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
|