view modules/sinl @ 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 76734739cce2
children
line wrap: on
line source

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

configure.ac:
gl_FUNC_SINL
if test $HAVE_SINL = 0; then
  AC_LIBOBJ([sinl])
  if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
    AC_LIBOBJ([sincosl])
    AC_LIBOBJ([trigl])
  fi
fi
gl_MATH_MODULE_INDICATOR([sinl])

Makefile.am:

Include:
<math.h>

Link:
$(SINL_LIBM)

License:
LGPL

Maintainer:
Paolo Bonzini