New module 'log2'.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 13:42:17 +0000 (14:42 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 22:24:44 +0000 (23:24 +0100)
commit6d131d20837bfac5a0c48692485debf3b28bfae2
treefb085a9a48a9d476c16c67df15f07a5d324204ca
parent58f8ff534c6e026b29c0d2cbba9c0f64c9bc755b
New module 'log2'.

* lib/math.in.h (log2): New declaration.
* lib/log2.c: New file.
* m4/log2.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether log2 is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2, HAVE_DECL_LOG2,
REPLACE_LOG2.
* modules/math (Makefile.am): Substitute GNULIB_LOG2, HAVE_DECL_LOG2,
REPLACE_LOG2.
* modules/log2: New file.
* tests/test-math-c++.cc: Check the declaration of log2.
* doc/posix-functions/log2.texi: Mention the new module and the IRIX
and OSF/1 and Cygwin problems.
ChangeLog
doc/posix-functions/log2.texi
lib/log2.c [new file with mode: 0644]
lib/math.in.h
m4/log2.m4 [new file with mode: 0644]
m4/math_h.m4
modules/log2 [new file with mode: 0644]
modules/math
tests/test-math-c++.cc