]> git.ipfire.org Git - thirdparty/gcc.git/commit
This series of patches fix PR61441. This patch makes resulting NaN values
authorssaraswati <ssaraswati@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Dec 2015 07:59:30 +0000 (07:59 +0000)
committerssaraswati <ssaraswati@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Dec 2015 07:59:30 +0000 (07:59 +0000)
commitf7a0ff6049098bb84af1de232fe7679dfd5c624e
tree2ae5b93663443cbd3ea9fa77209ebb5f59d51e99
parentc4fd3a544579bd23c2163de2db8992d33c96fa3c
This series of patches fix PR61441. This patch makes resulting NaN values
to be quiet NaN for real value operations, irrespective of the flag_signaling_nans
flag. The caller has the responsibility to avoid the operation if flag_signaling_nans
is on.

gcc/
* real.c (do_add): Make resulting NaN value to be qNaN.
(do_multiply, do_divide, do_fix_trunc): Same.
(real_arithmetic, real_ldexp, real_convert): Same.
(real_isinteger): Updated comment stating it returns false for sNaN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231872 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/real.c