view modules/tanl @ 17335:840c32a600aa

getcwd: support coreutils better Like strtod, getcwd incorrectly referred to HAVE_RAW_DECL_GETCWD, but this might not be correct in coreutils, which disables the raw decl checks. Problem reported by Nagendra in <http://bugs.gnu.org/10305#192>. * lib/getcwd.c (__getcwd): Do not depend on HAVE_RAW_DECL_GETCWD. * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Test the getcwd function, not any macro, since getcwd.c wants the function. * m4/getcwd.m4 (gl_FUNC_GETCWD): Don't define HAVE_MINIMALLY_WORKING_GETCWD if the code doesn't compile, as might happen if there's a macro but no function.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 20 Feb 2013 00:04:35 -0800
parents 83c276c24d2a
children
line wrap: on
line source

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
tan             [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float           [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl          [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floor           [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floorl          [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_TANL
if test $HAVE_TANL = 0; then
  AC_LIBOBJ([tanl])
  if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
    AC_LIBOBJ([trigl])
  fi
fi
gl_MATH_MODULE_INDICATOR([tanl])

Makefile.am:

Include:
<math.h>

Link:
$(TANL_LIBM)

License:
LGPL

Maintainer:
Paolo Bonzini