summaryrefslogtreecommitdiff
path: root/modules/log2l
blob: 166061d89af3a563ec86e145f89332039f0e3a2e (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
Description:
log2() function: base 2 logarithm.

Files:
lib/log2l.c
m4/log2l.m4

Depends-on:
math
extensions
log2            [{ test $HAVE_LOG2L = 0 || test $REPLACE_LOG2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
isnanl          [{ test $HAVE_LOG2L = 0 || test $REPLACE_LOG2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
frexpl          [{ test $HAVE_LOG2L = 0 || test $REPLACE_LOG2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
logl            [{ test $HAVE_LOG2L = 0 || test $REPLACE_LOG2L = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_LOG2L
gl_CONDITIONAL([GL_COND_OBJ_LOG2L],
               [test $HAVE_LOG2L = 0 || test $REPLACE_LOG2L = 1])
gl_MATH_MODULE_INDICATOR([log2l])

Makefile.am:
if GL_COND_OBJ_LOG2L
lib_SOURCES += log2l.c
endif

Include:
<math.h>

Link:
$(LOG2L_LIBM)

License:
LGPL

Maintainer:
all