This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/5680] math functions (atanh, log, log1p) are inconsistent in treatment of errno


http://sourceware.org/bugzilla/show_bug.cgi?id=5680

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-29 20:12:25 UTC ---
atanh was fixed by:

2009-04-26  Ulrich Drepper  <drepper@redhat.com>

        * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in
        atanh should set ERANGE.

All functions also raise divide-by-zero.  So the only bug left here is for
log1p, which should set errno to ERANGE.  That's one particular case of the
problems for log1p detailed in bug 6792.

*** This bug has been marked as a duplicate of bug 6792 ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]