From 20f0673b1b22f84e39b3bacae027cdc21be2ed39 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Oct 2011 19:05:54 +0200 Subject: New module 'rintf'. * lib/math.in.h (rintf): New declaration. * lib/rintf.c: New file. * m4/rintf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether rintf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_RINTF, HAVE_RINTF. * modules/math (Makefile.am): Substitute GNULIB_RINTF, HAVE_RINTF. * modules/rintf: New file. * tests/test-math-c++.cc: Check the declaration of rintf. * doc/posix-functions/rintf.texi: Mention the new module. --- modules/rintf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/rintf (limited to 'modules/rintf') diff --git a/modules/rintf b/modules/rintf new file mode 100644 index 0000000000..92b93a399a --- /dev/null +++ b/modules/rintf @@ -0,0 +1,32 @@ +Description: +rintf() function: round according to the current rounding mode. + +Files: +lib/rintf.c +lib/rint.c +m4/rintf.m4 +m4/mathfunc.m4 + +Depends-on: +math + +configure.ac: +gl_FUNC_RINTF +if test $HAVE_RINTF = 0; then + AC_LIBOBJ([rintf]) +fi +gl_MATH_MODULE_INDICATOR([rintf]) + +Makefile.am: + +Include: + + +Link: +$(RINTF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible -- cgit v1.2.1