Hash :
20f0673b
Author :
Date :
2011-10-09T19:05:54
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.
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:
<math.h>
Link:
$(RINTF_LIBM)
License:
LGPL
Maintainer:
Bruno Haible