summaryrefslogtreecommitdiff
path: root/gnulib/modules/round
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/round')
m---------gnulib0
-rw-r--r--gnulib/modules/round37
2 files changed, 37 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/round b/gnulib/modules/round
new file mode 100644
index 0000000..6fe95a2
--- /dev/null
+++ b/gnulib/modules/round
@@ -0,0 +1,37 @@
+Description:
+round() function: round toward nearest, breaking ties away from zero.
+
+Files:
+lib/round.c
+m4/check-math-lib.m4
+m4/round.m4
+m4/floor.m4
+m4/ceil.m4
+
+Depends-on:
+math
+extensions
+float [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+floor [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+
+configure.ac:
+gl_FUNC_ROUND
+if test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1; then
+ AC_LIBOBJ([round])
+fi
+gl_MATH_MODULE_INDICATOR([round])
+
+Makefile.am:
+
+Include:
+<math.h>
+
+Link:
+$(ROUND_LIBM)
+
+License:
+LGPL
+
+Maintainer:
+Ben Pfaff
+