Bug 13733 - 2.15 backport: rintf/nearbyintf
Summary: 2.15 backport: rintf/nearbyintf
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.15
: P2 normal
Target Milestone: ---
Assignee: Carlos O'Donell
URL:
Keywords: glibc_2.15
Depends on:
Blocks:
 
Reported: 2012-02-23 18:02 UTC by Joseph Myers
Modified: 2014-06-26 15:17 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2012-02-23 18:02:10 UTC
I think the following libc changes are appropriate for 2.15 backporting:

commit 6cbeae4719aeb3edb6143fe5dd6d2a5ab45c0248
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Feb 22 13:03:40 2012 +0000

    Fix nearbyintf rounding.

commit fe45ce09f366f2260aef528d37ae35070b3a2a36
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Feb 22 13:01:20 2012 +0000

    Fix rintf rounding.
Comment 1 Joseph Myers 2012-02-28 23:23:37 UTC
Add

commit a78bc6549cfedeea0828b718aca00593d8164c2b
Author: David S. Miller <davem@davemloft.net>
Date:   Mon Feb 27 14:51:45 2012 -0800

    Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.
    
        * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
        manipulate bits before adding and subtracting TWO112[sx].
        * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.

to the patches to backport for this issue as well.
Comment 2 Carlos O'Donell 2012-05-01 19:44:25 UTC
Backported to 2.15.