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

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

Depends-on:
math
extensions
float           [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1]

configure.ac:
gl_FUNC_TRUNCF
gl_CONDITIONAL([GL_COND_OBJ_TRUNCF],
               [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1])
gl_MATH_MODULE_INDICATOR([truncf])

Makefile.am:
if GL_COND_OBJ_TRUNCF
lib_SOURCES += truncf.c
endif

Include:
<math.h>

Link:
$(TRUNCF_LIBM)

License:
LGPL

Maintainer:
all