Hash :
5b490ef0
Author :
Date :
2019-01-21T00:33:28
rintl: Override broken implementation on NetBSD. * lib/math.in.h (rintl): Test also REPLACE_RINTL. * m4/rintl.m4 (gl_FUNC_RINTL): Add test for negative arguments. Set REPLACE_RINTL. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_RINTL. * modules/math (Makefile.in): Substitute REPLACE_RINTL. * modules/rintl (Depends-on, configure.ac): Test REPLACE_RINTL. * doc/posix-functions/rintl.texi: Mention the NetBSD bug.
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
extensions
rint [{ test $HAVE_RINTL = 0 || test $REPLACE_RINTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
configure.ac:
gl_FUNC_RINTL
if test $HAVE_RINTL = 0 || test $REPLACE_RINTL = 1; then
AC_LIBOBJ([rintl])
fi
gl_MATH_MODULE_INDICATOR([rintl])
Makefile.am:
Include:
<math.h>
Link:
$(RINTL_LIBM)
License:
LGPL
Maintainer:
all