arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-rh1413638-2.patch

147e83
commit d421868bb85d1459b1d2df520bb26f3e11aa195a
147e83
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147e83
Date:   Tue Mar 10 09:38:54 2015 -0400
147e83
147e83
    powerpc: Fix incorrect results for pow when using FMA
147e83
    
147e83
    This patch adds no FMA generation for e_pow to avoid precision issues
147e83
    for powerpc.  This fixes BZ#18104.
147e83
147e83
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
147e83
index 35f545f..5557c75 100644
147e83
--- a/sysdeps/ieee754/dbl-64/Makefile
147e83
+++ b/sysdeps/ieee754/dbl-64/Makefile
147e83
@@ -2,4 +2,5 @@ ifeq ($(subdir),math)
147e83
 # branred depends on precise IEEE double rounding
147e83
 CFLAGS-branred.c = $(config-cflags-nofma)
147e83
 CFLAGS-e_sqrt.c = $(config-cflags-nofma)
147e83
+CFLAGS-e_pow.c = $(config-cflags-nofma)
147e83
 endif