[Bug libstdc++/54036] Negating a DFP NAN in C++ produces NAN not -NAN
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 6 18:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54036
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-08-06 18:00:11 UTC ---
Author: paolo
Date: Mon Aug 6 18:00:00 2012
New Revision: 190185
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190185
Log:
2012-08-06 Peter Bergner <bergner@vnet.ibm.com>
PR libstdc++/54036
* include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as
a unary operator.
* testsuite/decimal/pr54036-1.cc: New test.
* testsuite/decimal/pr54036-2.cc: Likewise.
* testsuite/decimal/pr54036-3.cc: Likewise.
Added:
branches/gcc-4_7-branch/libstdc++-v3/testsuite/decimal/pr54036-1.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/decimal/pr54036-2.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/decimal/pr54036-3.cc
Modified:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/decimal/decimal.h
More information about the Gcc-bugs
mailing list