diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-08 22:32:31 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-08 22:32:31 +0200 |
commit | bb09133116a45861827711f5e8faf2c82b98c552 (patch) | |
tree | 843fcdcdb4e4a050968b7eed4e3b40bc9a400052 /modules/log10f | |
parent | 0fcd1e44a647cb60984c78c6e487815b74744760 (diff) | |
download | gnulib-bb09133116a45861827711f5e8faf2c82b98c552.tar.gz |
New module 'log10f'.
* lib/math.in.h (log10f): New declaration.
* lib/log10f.c: New file.
* m4/log10f.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether log10f is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG10F, HAVE_LOG10F.
* modules/math (Makefile.am): Substitute GNULIB_LOG10F, HAVE_LOG10F.
* modules/log10f: New file.
* tests/test-math-c++.cc: Check the declaration of log10f.
* doc/posix-functions/log10f.texi: Mention the new module.
Diffstat (limited to 'modules/log10f')
-rw-r--r-- | modules/log10f | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/log10f b/modules/log10f new file mode 100644 index 0000000000..d6c5b8b1ce --- /dev/null +++ b/modules/log10f @@ -0,0 +1,31 @@ +Description: +log10f() function: base 10 logarithmic function. + +Files: +lib/log10f.c +m4/log10f.m4 + +Depends-on: +math +log10 [test $HAVE_LOG10F = 0] + +configure.ac: +gl_FUNC_LOG10F +if test $HAVE_LOG10F = 0; then + AC_LIBOBJ([log10f]) +fi +gl_MATH_MODULE_INDICATOR([log10f]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOG10F_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible |