aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorSujoy Saraswati <sujoy.saraswati@hpe.com>2015-12-21 07:59:30 +0000
committerSujoy Saraswati <ssaraswati@gcc.gnu.org>2015-12-21 07:59:30 +0000
commitde4b6238e7501adbb9cec02005d7605c1dbeb398 (patch)
tree2ae5b93663443cbd3ea9fa77209ebb5f59d51e99 /libcpp
parent091534a9f44229b2643d84a0bfe0f07e678a3772 (diff)
downloadgcc-de4b6238e7501adbb9cec02005d7605c1dbeb398.zip
gcc-de4b6238e7501adbb9cec02005d7605c1dbeb398.tar.gz
gcc-de4b6238e7501adbb9cec02005d7605c1dbeb398.tar.bz2
This series of patches fix PR61441.
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. From-SVN: r231872
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions