summaryrefslogtreecommitdiff
path: root/modules/exp2l
blob: 456d04d66af06626411e5e217110a26995ccbd33 (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
Description:
exp2l() function: exponential base 2 function with long double argument.

Files:
lib/exp2l.c
lib/expl-table.c
m4/exp2l.m4

Depends-on:
math
extensions
exp2            [{ test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float           [{ test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl          [{ test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
roundl          [{ test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
ldexpl          [{ test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_EXP2L
gl_CONDITIONAL([GL_COND_OBJ_EXP2L],
               [test $HAVE_EXP2L = 0 || test $REPLACE_EXP2L = 1])
AM_COND_IF([GL_COND_OBJ_EXP2L], [
  AC_LIBOBJ([expl-table])
])
gl_MATH_MODULE_INDICATOR([exp2l])

Makefile.am:
if GL_COND_OBJ_EXP2L
lib_SOURCES += exp2l.c
endif

Include:
<math.h>

Link:
$(EXP2L_LIBM)

License:
LGPL

Maintainer:
all