I think the following libc change is appropriate for 2.15 backporting: commit 92221550d72bafcd322ac5ab2a951054184b7f1a Author: Aurelien Jarno <aurelien@aurel32.net> Date: Sun Feb 19 11:20:18 2012 +0100 Use non-signaling floating-point comparisons in math functions.
Backported to 2.15.