olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1413638-2.patch

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