summaryrefslogtreecommitdiff
path: root/modules/round
diff options
context:
space:
mode:
authorBen Pfaff <blp@cs.stanford.edu>2007-10-20 13:08:26 -0700
committerBen Pfaff <blp@cs.stanford.edu>2007-10-20 13:08:26 -0700
commit980d2709cea1e46299cb5b4f74f7c7a95d07ef06 (patch)
tree583de12457ed658055feba92a97f6d0257135e0e /modules/round
parent36454274190b141a37308d9b266b3d0b68a71694 (diff)
downloadgnulib-980d2709cea1e46299cb5b4f74f7c7a95d07ef06.tar.gz
Implement 'round', 'roundf', 'roundl' modules.
Diffstat (limited to 'modules/round')
-rw-r--r--modules/round32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/round b/modules/round
new file mode 100644
index 0000000000..0dd2526f87
--- /dev/null
+++ b/modules/round
@@ -0,0 +1,32 @@
+Description:
+round() function: round toward nearest, breaking ties away from zero.
+
+Files:
+lib/round.c
+m4/check-libm-func.m4
+m4/round.m4
+
+Depends-on:
+float
+floor
+math
+extensions
+
+configure.ac:
+gl_FUNC_ROUND
+gl_MATH_MODULE_INDICATOR([round])
+
+Makefile.am:
+
+Include:
+<math.h>
+
+Link:
+$(ROUND_LIBM)
+
+License:
+LGPL
+
+Maintainer:
+Ben Pfaff
+