aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-03-10 09:38:54 -0400
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-03-10 09:38:54 -0400
commitd421868bb85d1459b1d2df520bb26f3e11aa195a (patch)
tree6be6d29a46aade57f875afb7de291b547059c64b /sysdeps/ieee754
parenta2f8be9c834cb513666e0ce02ee8f4b4a3f358f8 (diff)
downloadglibc-d421868bb85d1459b1d2df520bb26f3e11aa195a.zip
glibc-d421868bb85d1459b1d2df520bb26f3e11aa195a.tar.gz
glibc-d421868bb85d1459b1d2df520bb26f3e11aa195a.tar.bz2
powerpc: Fix incorrect results for pow when using FMA
This patch adds no FMA generation for e_pow to avoid precision issues for powerpc. This fixes BZ#18104.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 35f545f..5557c75 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,5 @@ ifeq ($(subdir),math)
# branred depends on precise IEEE double rounding
CFLAGS-branred.c = $(config-cflags-nofma)
CFLAGS-e_sqrt.c = $(config-cflags-nofma)
+CFLAGS-e_pow.c = $(config-cflags-nofma)
endif