summaryrefslogtreecommitdiff
path: root/gnulib/modules/trunc
blob: 34f33391e06800ce8195cfdfc1cd0b5c2ddf1046 (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
Description:
trunc() function: round towards zero.

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

Depends-on:
math
extensions
float           [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1]

configure.ac:
gl_FUNC_TRUNC
if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
  AC_LIBOBJ([trunc])
fi
gl_MATH_MODULE_INDICATOR([trunc])

Makefile.am:

Include:
<math.h>

Link:
$(TRUNC_LIBM)

License:
LGPL

Maintainer:
Bruno Haible