bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

remainder math error reporting


From: Bruno Haible
Subject: remainder math error reporting
Date: Mon, 27 Feb 2012 21:09:54 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Similarly, the modules
  remainder
  remainderf
  remainderl
don't pass the test suite with IEEE compliance on OSF/1 5.1:

test-remainder-ieee.h:30: assertion failed
FAIL: test-remainder-ieee
test-remainder-ieee.h:30: assertion failed
FAIL: test-remainderf-ieee
test-remainder-ieee.h:30: assertion failed
FAIL: test-remainderl-ieee

This set of patches fixes it.


2012-02-27  Bruno Haible  <address@hidden>

        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.

        remainderf-ieee: Work around test failure on OSF/1.
        * m4/remainderf-ieee.m4: New file.
        * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is
        present, test whether remainderf works with a zero second argument.
        Replace it if not.
        * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1.
        * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF.
        * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF.
        * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF.
        (Depends-on): Update conditions.
        * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4.
        (Depends-on): Add remainder-ieee.
        (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE.
        * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee
        module.

        remainder-ieee: Work around test failure on OSF/1.
        * m4/remainder-ieee.m4: New file.
        * m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is
        present, test whether remainder works with a zero second argument.
        Replace it if not.
        * lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1.
        * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER.
        * modules/math (Makefile.am): Substitute REPLACE_REMAINDER.
        * modules/remainder (configure.ac): Consider REPLACE_REMAINDER.
        (Depends-on): Update dependencies.
        * modules/remainder-ieee (Files): Add m4/remainder-ieee.m4.
        (configure.ac): Invoke gl_FUNC_REMAINDER_IEEE.
        * doc/posix-functions/remainder.texi: Mention the remainder-ieee module.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]