powerpc: Fix inline feraiseexcept, feclearexcept macros
commit85b290451e4d3ab460a57f1c5966c5827ca807ca
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 28 Jan 2015 11:10:41 +0000 (28 06:10 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 3 Mar 2015 15:01:49 +0000 (3 10:01 -0500)
treec394f048661ba9134a0a9a1fc321022f38e7347b
parenta0af371c25ac1f215cf0db64e54cbb9a1b51f78c
powerpc: Fix inline feraiseexcept, feclearexcept macros

This patch fixes the inline feraiseexcept and feclearexcept macros for
powerpc by casting the input argument to integer before operation on it.

It fixes BZ#17776.
ChangeLog
NEWS
math/Makefile
math/test-fenvinline.c [new file with mode: 0644]
sysdeps/powerpc/bits/fenvinline.h