Hash :
4e2d5fa7
Author :
Date :
2012-02-27T21:06:30
remainderl-ieee: Work around test failure on OSF/1. * m4/remainderl-ieee.m4: New file. * m4/remainderl.m4 (gl_FUNC_REMAINDERL): If gl_FUNC_REMAINDERL_IEEE is present, test whether remainderl works with a zero second argument. Replace it if not. * lib/math.in.h (remainderl): Override if REPLACE_REMAINDERL is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERL. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERL. * modules/remainderl (configure.ac): Consider REPLACE_REMAINDERL. (Depends-on): Update conditions. * modules/remainderl-ieee (Files): Add m4/remainderl-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERL_IEEE. * doc/posix-functions/remainderl.texi: Mention the remainderl-ieee module.
Description:
remainderl() function according to ISO C 99 with IEC 60559.
Files:
m4/remainderl-ieee.m4
Depends-on:
remainderl
fpieee
remainder-ieee [{ test $HAVE_REMAINDERL = 0 || test $REPLACE_REMAINDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
configure.ac:
gl_FUNC_REMAINDERL_IEEE
Makefile.am:
Include:
<math.h>
Link:
$(REMAINDERL_LIBM)
License:
LGPL
Maintainer:
Bruno Haible