summaryrefslogtreecommitdiff
path: root/modules/sinl
blob: b2f21080955e5e14bae0ddbcbadfcbaac7569b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
gl_CONDITIONAL([GL_COND_OBJ_SINL], [test $HAVE_SINL = 0])
AM_COND_IF([GL_COND_OBJ_SINL], [
  if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
    AC_LIBOBJ([sincosl])
    AC_LIBOBJ([trigl])
  fi
])
gl_MATH_MODULE_INDICATOR([sinl])

Makefile.am:
if GL_COND_OBJ_SINL
lib_SOURCES += sinl.c
endif

Include:
<math.h>

Link:
$(SINL_LIBM)

License:
LGPL

Maintainer:
Paolo Bonzini