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.
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.
Backported to 2.15.