view modules/tanl @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
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