Hash :
89f85637
Author :
Date :
2012-03-08T01:55:40
roundf: Don't override undeclared system function on IRIX 6.5. * m4/roundf.m4 (gl_FUNC_ROUNDF): Search for roundf() in the libraries also when it is not declared. Set HAVE_ROUNDF. For replacement code, test HAVE_ROUNDF, not HAVE_DECL_ROUNDF. * modules/roundf (configure.ac): For replacement code, test HAVE_ROUNDF, not HAVE_DECL_ROUNDF. (Depends-on): Update conditions. * modules/roundf-ieee (Depends-on): Update conditions. * doc/posix-functions/roundf.texi: Mention the IRIX problem.
Description:
roundf() function according to ISO C 99 with IEC 60559.
Files:
m4/roundf-ieee.m4
m4/minus-zero.m4
m4/signbit.m4
Depends-on:
roundf
floorf-ieee [test $HAVE_ROUNDF = 0 || test $REPLACE_ROUNDF = 1]
ceilf-ieee [test $HAVE_ROUNDF = 0 || test $REPLACE_ROUNDF = 1]
configure.ac:
gl_FUNC_ROUNDF_IEEE
Makefile.am:
Include:
<math.h>
Link:
$(ROUNDF_LIBM)
License:
LGPL
Maintainer:
Bruno Haible