diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-06-24 13:09:51 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-06-24 13:09:51 +0100 |
commit | a3c8d7fbe29d4ab60cc46196a1376854734a4f8d (patch) | |
tree | 5443500477c03424be3f577a036c328b5802073c /gcc/ada/gcc-interface/utils.c | |
parent | ff164b601b75a9aba47edfaa9a215cb376ab055e (diff) | |
download | gcc-a3c8d7fbe29d4ab60cc46196a1376854734a4f8d.zip gcc-a3c8d7fbe29d4ab60cc46196a1376854734a4f8d.tar.gz gcc-a3c8d7fbe29d4ab60cc46196a1376854734a4f8d.tar.bz2 |
Fix std::midpoint for denormal values
* include/std/numeric (midpoint(T, T)): Change implementation for
floating-point types to avoid incorrect rounding of denormals.
* testsuite/26_numerics/midpoint/floating.cc: Add check for correct
rounding with denormals.
* testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error line numbers.
* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
From-SVN: r272616
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions