Mercurial > hg > octave-lojdl > gnulib-hg
diff modules/tanf @ 15878:c0c190f3cccb
New module 'tanf'.
* lib/math.in.h (tanf): New declaration.
* lib/tanf.c: New file.
* m4/tanf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether tanf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_TANF, HAVE_TANF.
* modules/math (Makefile.am): Substitute GNULIB_TANF, HAVE_TANF.
* modules/tanf: New file.
* tests/test-math-c++.cc: Check the declaration of tanf.
* doc/posix-functions/tanf.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 08 Oct 2011 23:16:29 +0200 |
parents | |
children | fdbe3125f81a |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/modules/tanf @@ -0,0 +1,31 @@ +Description: +tanf() function: tangent function. + +Files: +lib/tanf.c +m4/tanf.m4 + +Depends-on: +math +tan [test $HAVE_TANF = 0] + +configure.ac: +gl_FUNC_TANF +if test $HAVE_TANF = 0; then + AC_LIBOBJ([tanf]) +fi +gl_MATH_MODULE_INDICATOR([tanf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible