summaryrefslogtreecommitdiff
path: root/modules/trunc
blob: bd955867955fd7de6cab25ee7f743f3d2b6f217f (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
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:
all