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/6803] scalb(), scalbln(), scalbn() do not set errno on overflow/underflow


https://sourceware.org/bugzilla/show_bug.cgi?id=6803

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8fed86556b7e162d2926f0ba6a573ed193ff882f (commit)
      from  3bfee8beb8caa939020d942dfa405a3d98975749 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8fed86556b7e162d2926f0ba6a573ed193ff882f

commit 8fed86556b7e162d2926f0ba6a573ed193ff882f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 17:00:31 2015 +0000

    Don't redirect ldexp to scalbn in bits/math-finite.h (bug 19209).

    bits/math-finite.h maps ldexp functions to corresponding scalbn
    functions.  This is (a) a namespace bug for C90, which has ldexp but
    not scalbn, and (b) in any case useless, since the ldexp and scalbn
    functions have identical semantics (for floating-point types with
    radix 2), and since the fix for bug 6803 are actually aliases
    (presumably the mapping was based around the old bug of scalbn not
    setting errno).  This patch removes the bogus redirections.

    Tested for x86_64 and x86.

        [BZ #19209]
        * math/bits/math-finite.h (ldexp): Remove declaration.
        (ldexpf): Likewise.
        (ldexpl): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    5 +++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |    9 ---------
 3 files changed, 6 insertions(+), 10 deletions(-)

-- 
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]