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
|
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
gl_CONDITIONAL([GL_COND_OBJ_TRUNC],
[test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1])
gl_MATH_MODULE_INDICATOR([trunc])
Makefile.am:
if GL_COND_OBJ_TRUNC
lib_SOURCES += trunc.c
endif
Include:
<math.h>
Link:
$(TRUNC_LIBM)
License:
LGPL
Maintainer:
all
|