summaryrefslogtreecommitdiff
path: root/modules/asinf
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-08 23:29:33 +0200
committerBruno Haible <bruno@clisp.org>2011-10-08 23:29:33 +0200
commiteffe7821374f8b7e22e9de3df9cc4e5f285712bd (patch)
treef795e736e867f984ad4c2b7fc6102d43a8cc143e /modules/asinf
parent27b32e104397cd331f7530cb383e0b27c3177edc (diff)
downloadgnulib-effe7821374f8b7e22e9de3df9cc4e5f285712bd.tar.gz
New module 'asinf'.
* lib/math.in.h (asinf): New declaration. * lib/asinf.c: New file. * m4/asinf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether asinf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_ASINF, HAVE_ASINF. * modules/math (Makefile.am): Substitute GNULIB_ASINF, HAVE_ASINF. * modules/asinf: New file. * tests/test-math-c++.cc: Check the declaration of asinf. * doc/posix-functions/asinf.texi: Mention the new module.
Diffstat (limited to 'modules/asinf')
-rw-r--r--modules/asinf31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/asinf b/modules/asinf
new file mode 100644
index 0000000000..395ff2c271
--- /dev/null
+++ b/modules/asinf
@@ -0,0 +1,31 @@
+Description:
+asinf() function: inverse sine function.
+
+Files:
+lib/asinf.c
+m4/asinf.m4
+
+Depends-on:
+math
+asin [test $HAVE_ASINF = 0]
+
+configure.ac:
+gl_FUNC_ASINF
+if test $HAVE_ASINF = 0; then
+ AC_LIBOBJ([asinf])
+fi
+gl_MATH_MODULE_INDICATOR([asinf])
+
+Makefile.am:
+
+Include:
+<math.h>
+
+Link:
+$(ASINF_LIBM)
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible