Mercurial > hg > octave-lojdl > gnulib-hg
view modules/rintl @ 15920:44844e6a23a1
New module 'rintl'.
* lib/math.in.h (rintl): New declaration.
* lib/rintl.c: New file.
* m4/rintl.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether rintl is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_RINTL, HAVE_RINTL.
* modules/math (Makefile.am): Substitute GNULIB_RINTL, HAVE_RINTL.
* modules/rintl: New file.
* tests/test-math-c++.cc: Check the declaration of rintl.
* modules/math-c++-tests (Makefile.am): Link test-math-c++ against
$(RINTL_LIBM). Needed on IRIX 6.5 with cc.
* doc/posix-functions/rintl.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 09 Oct 2011 20:35:03 +0200 |
parents | |
children | c3916f7594b5 |
line wrap: on
line source
Description: rintl() function: round according to the current rounding mode. Files: lib/rintl.c lib/rint.c m4/rintl.m4 m4/mathfunc.m4 Depends-on: math configure.ac: gl_FUNC_RINTL if test $HAVE_RINTL = 0; then AC_LIBOBJ([rintl]) fi gl_MATH_MODULE_INDICATOR([rintl]) Makefile.am: Include: <math.h> Link: $(RINTL_LIBM) License: LGPL Maintainer: Bruno Haible