summaryrefslogtreecommitdiff
path: root/modules/truncl
blob: 54e26903ad4e0c8ffbead7da0c1b0f92a4137f78 (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
Description:
truncl() function: round towards zero.

Files:
lib/truncl.c
lib/trunc.c
m4/truncl.m4

Depends-on:
math
extensions
trunc           [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float           [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_TRUNCL
gl_CONDITIONAL([GL_COND_OBJ_TRUNCL],
               [test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1])
gl_MATH_MODULE_INDICATOR([truncl])

Makefile.am:
if GL_COND_OBJ_TRUNCL
lib_SOURCES += truncl.c
endif

Include:
<math.h>

Link:
$(TRUNCL_LIBM)

License:
LGPL

Maintainer:
all