[Bug libstdc++/25913] Client's isnormal function is broken by cmath
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 26 18:25:00 GMT 2007
------- Comment #7 from paolo at gcc dot gnu dot org 2007-11-26 18:25 -------
Subject: Bug 25913
Author: paolo
Date: Mon Nov 26 18:24:54 2007
New Revision: 130443
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130443
Log:
2007-11-26 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/25913
* include/c_std/cmath (std::fpclassify, isfinite, isinf, isnan,
isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
islessgreater, isunordered): Guard with __enable_if and forward
with __promote.
* include/c_global/cmath: Likewise.
* testsuite/26_numerics/headers/cmath/25913.cc: New.
* include/c_std/cmath (__gnu_cxx::__capture_isfinite,
__capture_isinf, __capture_isnan, __capture_isnormal,
__capture_signbit, __capture_isgreater, __capture_isgreaterequal,
__capture_isless, __capture_islessequal, __capture_islessgreater,
__capture_isunordered): Remove.
(std::isfinite, isinf, isnan, isnormal, signbit, isgreater,
isgreaterequal, isless, islessequal, islessgreater, isunordered):
Forward to the corresponding builtin.
* include/c_global/cmath: Likewise.
* include/c_global/cmath (std::atan2, pow): Guard with __enable_if.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/25913.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/c_global/cmath
trunk/libstdc++-v3/include/c_std/cmath
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25913
More information about the Gcc-bugs
mailing list