Branch
Hash :
d171b945
Author :
Date :
2024-12-27T23:14:22
Rename module math to math-h. * modules/math-h: Renamed from modules/math. * modules/math-h-tests: Renamed from modules/math-tests. * modules/math-h-c++-tests: Renamed from modules/math-c++-tests. * tests/test-math-h.c: Renamed from tests/test-math.c. * tests/test-math-h-c++.cc: Renamed from tests/test-math-c++.cc. * tests/test-math-h-c++2.cc: Renamed from tests/test-math-c++2.cc. * doc/posix-headers/math.texi: Update. * modules/* (Depends-on): Update. * modules/math: New file.
Description:
ilogb() function: get exponent as integer.
Files:
lib/ilogb.c
m4/ilogb.m4
m4/mathfunc.m4
Depends-on:
math-h
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
gl_CONDITIONAL([GL_COND_OBJ_ILOGB],
[test $HAVE_ILOGB = 0 || test $REPLACE_ILOGB = 1])
gl_MATH_MODULE_INDICATOR([ilogb])
Makefile.am:
if GL_COND_OBJ_ILOGB
lib_SOURCES += ilogb.c
endif
Include:
<math.h>
Link:
$(ILOGB_LIBM)
License:
LGPL
Maintainer:
all