diff options
author | Bruno Haible <bruno@clisp.org> | 2010-01-18 01:27:33 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-01-19 02:59:13 +0100 |
commit | 73e329f11142c2804e42825e1590041d68dbb6e9 (patch) | |
tree | 3576045450dd7e0c54caf80d8d55842e6632879f /modules | |
parent | 438ba4dda6cffac43a76642edbde5eb3504001d9 (diff) | |
download | gnulib-73e329f11142c2804e42825e1590041d68dbb6e9.tar.gz |
New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/acosl | 30 | ||||
-rw-r--r-- | modules/asinl | 29 | ||||
-rw-r--r-- | modules/atanl | 29 | ||||
-rw-r--r-- | modules/cosl | 35 | ||||
-rw-r--r-- | modules/expl | 30 | ||||
-rw-r--r-- | modules/logl | 31 | ||||
-rw-r--r-- | modules/math | 19 | ||||
-rw-r--r-- | modules/mathl | 42 | ||||
-rw-r--r-- | modules/sinl | 35 | ||||
-rw-r--r-- | modules/sqrtl | 33 | ||||
-rw-r--r-- | modules/tanl | 34 |
11 files changed, 325 insertions, 22 deletions
diff --git a/modules/acosl b/modules/acosl new file mode 100644 index 0000000000..3c49196f35 --- /dev/null +++ b/modules/acosl @@ -0,0 +1,30 @@ +Description: +acosl() function: inverse cosine function with long double argument. + +Files: +lib/acosl.c +m4/acosl.m4 + +Depends-on: +math +extensions +asinl +sqrtl + +configure.ac: +gl_FUNC_ACOSL +gl_MATH_MODULE_INDICATOR([acosl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOSL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/asinl b/modules/asinl new file mode 100644 index 0000000000..7f254ab461 --- /dev/null +++ b/modules/asinl @@ -0,0 +1,29 @@ +Description: +asinl() function: inverse sine function with long double argument. + +Files: +lib/asinl.c +m4/asinl.m4 + +Depends-on: +math +extensions +sqrtl + +configure.ac: +gl_FUNC_ASINL +gl_MATH_MODULE_INDICATOR([asinl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ASINL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/atanl b/modules/atanl new file mode 100644 index 0000000000..f6ba1b85a9 --- /dev/null +++ b/modules/atanl @@ -0,0 +1,29 @@ +Description: +atanl() function: inverse tangent function with long double argument. + +Files: +lib/atanl.c +m4/atanl.m4 + +Depends-on: +math +extensions +isnanl + +configure.ac: +gl_FUNC_ATANL +gl_MATH_MODULE_INDICATOR([atanl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATANL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/cosl b/modules/cosl new file mode 100644 index 0000000000..88ebf9c40e --- /dev/null +++ b/modules/cosl @@ -0,0 +1,35 @@ +Description: +cosl() function: cosine function with long double argument. + +Files: +lib/cosl.c +lib/trigl.h +lib/sincosl.c +lib/trigl.c +m4/cosl.m4 + +Depends-on: +math +extensions +float +isnanl +floor +floorl + +configure.ac: +gl_FUNC_COSL +gl_MATH_MODULE_INDICATOR([cosl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOSL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/expl b/modules/expl new file mode 100644 index 0000000000..3870440e75 --- /dev/null +++ b/modules/expl @@ -0,0 +1,30 @@ +Description: +expl() function: exponential function with long double argument. + +Files: +lib/expl.c +m4/expl.m4 + +Depends-on: +math +extensions +float +floorl + +configure.ac: +gl_FUNC_EXPL +gl_MATH_MODULE_INDICATOR([expl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(EXPL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/logl b/modules/logl new file mode 100644 index 0000000000..c9b7237dc2 --- /dev/null +++ b/modules/logl @@ -0,0 +1,31 @@ +Description: +logl() function: logarithm with long double argument. + +Files: +lib/logl.c +m4/logl.m4 + +Depends-on: +math +extensions +frexpl +isnanl +floorl + +configure.ac: +gl_FUNC_LOGL +gl_MATH_MODULE_INDICATOR([logl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOGL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/math b/modules/math index dda67dfc92..f7173bf29d 100644 --- a/modules/math +++ b/modules/math @@ -25,8 +25,13 @@ math.h: math.in.h $(LINK_WARNING_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ + -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \ + -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \ + -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \ -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \ -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \ + -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \ + -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \ -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \ -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \ -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \ @@ -38,17 +43,29 @@ math.h: math.in.h $(LINK_WARNING_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \ -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \ -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \ - -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \ + -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \ -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \ -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \ -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \ -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \ + -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \ + -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \ + -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \ -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \ -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \ -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \ + -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ + -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ + -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ + -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ + -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ + -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ + -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ + -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ + -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ diff --git a/modules/mathl b/modules/mathl index 0b3018efb4..ac0a27e8b4 100644 --- a/modules/mathl +++ b/modules/mathl @@ -2,35 +2,35 @@ Description: C99 functions for transcendental functions with long double arguments. Files: -lib/acosl.c -lib/asinl.c -lib/atanl.c -lib/cosl.c -lib/expl.c -lib/logl.c -lib/sincosl.c -lib/sinl.c -lib/sqrtl.c -lib/tanl.c -lib/trigl.c -lib/trigl.h -m4/mathl.m4 Depends-on: -float -math -frexpl -isnanl -ldexpl floorl ceill +acosl +asinl +atanl +cosl +expl +logl +sinl +sqrtl +tanl configure.ac: -gl_FUNC_LONG_DOUBLE_MATH -gl_MATH_MODULE_INDICATOR([mathl]) +AC_REQUIRE([gl_FUNC_FLOORL]) +AC_REQUIRE([gl_FUNC_CEILL]) +AC_REQUIRE([gl_FUNC_ACOSL]) +AC_REQUIRE([gl_FUNC_ASINL]) +AC_REQUIRE([gl_FUNC_ATANL]) +AC_REQUIRE([gl_FUNC_COSL]) +AC_REQUIRE([gl_FUNC_EXPL]) +AC_REQUIRE([gl_FUNC_LOGL]) +AC_REQUIRE([gl_FUNC_SINL]) +AC_REQUIRE([gl_FUNC_SQRTL]) +AC_REQUIRE([gl_FUNC_TANL]) +LIBS="$LIBS $FLOORL_LIBM $CEILL_LIBM $ACOSL_LIBM $ASINL_LIBM $ATANL_LIBM $ACOSL_LIBM $EXPL_LIBM $LOGL_LIBM $SINL_LIBM $SQRTL_LIBM $TANL_LIBM" Makefile.am: -noinst_HEADERS += trigl.h trigl.c sincosl.c Include: <math.h> diff --git a/modules/sinl b/modules/sinl new file mode 100644 index 0000000000..67621ed316 --- /dev/null +++ b/modules/sinl @@ -0,0 +1,35 @@ +Description: +sinl() function: sine function with long double argument. + +Files: +lib/sinl.c +lib/trigl.h +lib/sincosl.c +lib/trigl.c +m4/sinl.m4 + +Depends-on: +math +extensions +float +isnanl +floor +floorl + +configure.ac: +gl_FUNC_SINL +gl_MATH_MODULE_INDICATOR([sinl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SINL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/sqrtl b/modules/sqrtl new file mode 100644 index 0000000000..d4886665af --- /dev/null +++ b/modules/sqrtl @@ -0,0 +1,33 @@ +Description: +sqrtl() function: square root with long double argument. + +Files: +lib/sqrtl.c +m4/sqrtl.m4 + +Depends-on: +math +extensions +float +isnanl +frexpl +ldexpl +sqrt + +configure.ac: +gl_FUNC_SQRTL +gl_MATH_MODULE_INDICATOR([sqrtl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SQRTL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini diff --git a/modules/tanl b/modules/tanl new file mode 100644 index 0000000000..b00fd1bd51 --- /dev/null +++ b/modules/tanl @@ -0,0 +1,34 @@ +Description: +tanl() function: tangent function with long double argument. + +Files: +lib/tanl.c +lib/trigl.h +lib/trigl.c +m4/tanl.m4 + +Depends-on: +math +extensions +float +isnanl +floor +floorl + +configure.ac: +gl_FUNC_TANL +gl_MATH_MODULE_INDICATOR([tanl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANL_LIBM) + +License: +GPL + +Maintainer: +Paolo Bonzini |