summaryrefslogtreecommitdiff
path: root/gnulib/modules/truncl
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/truncl')
m---------gnulib0
-rw-r--r--gnulib/modules/truncl35
2 files changed, 35 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/truncl b/gnulib/modules/truncl
new file mode 100644
index 0000000..f02d61e
--- /dev/null
+++ b/gnulib/modules/truncl
@@ -0,0 +1,35 @@
+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
+if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then
+ AC_LIBOBJ([truncl])
+fi
+gl_MATH_MODULE_INDICATOR([truncl])
+
+Makefile.am:
+
+Include:
+<math.h>
+
+Link:
+$(TRUNCL_LIBM)
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+