view modules/ilogb @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800
parents d48f227b07b4
children
line wrap: on
line source

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