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