Mercurial > hg > octave-shane > gnulib-hg
view modules/logbf @ 16753:0f9a8ebc12c1
New module 'logbf'.
* lib/math.in.h (logbf): New declaration.
* lib/logbf.c: New file.
* m4/logbf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether logbf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOGBF, HAVE_LOGBF,
REPLACE_LOGBF.
* modules/math (Makefile.am): Substitute GNULIB_LOGBF, HAVE_LOGBF,
REPLACE_LOGBF.
* modules/logbf: New file.
* tests/test-math-c++.cc: Check the declaration of logbf.
* doc/posix-functions/logbf.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 03 Apr 2012 04:44:59 +0200 |
parents | |
children |
line wrap: on
line source
Description: logbf() function: get exponent. Files: lib/logbf.c lib/logb.c m4/logbf.m4 m4/mathfunc.m4 Depends-on: math extensions isfinite [test $HAVE_LOGBF = 0 || test $REPLACE_LOGBF = 1] frexpf [test $HAVE_LOGBF = 0 || test $REPLACE_LOGBF = 1] isnanf [test $HAVE_LOGBF = 0 || test $REPLACE_LOGBF = 1] configure.ac: gl_FUNC_LOGBF if test $HAVE_LOGBF = 0 || test $REPLACE_LOGBF = 1; then AC_LIBOBJ([logbf]) fi gl_MATH_MODULE_INDICATOR([logbf]) Makefile.am: Include: <math.h> Link: $(LOGBF_LIBM) License: LGPL Maintainer: Bruno Haible