summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/bits/std_cmath.h
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 02:23:52 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 02:23:52 +0000
commit4bff4fb7a87d416e2c430f1e154cccecef872f02 (patch)
tree90cb7664605cb51966af7586d487d9d26ffc94ce /libstdc++-v3/include/c_std/bits/std_cmath.h
parent1dea8d9d8bd52e2984b7ab28141b95cdb7ad1235 (diff)
downloadppe42-gcc-4bff4fb7a87d416e2c430f1e154cccecef872f02.tar.gz
ppe42-gcc-4bff4fb7a87d416e2c430f1e154cccecef872f02.zip
2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names. * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs. * include/c_std/bits/std_cwchar.h (std): Same. * acconfig.h (std): Remove c99 injection into std. * config.h.in: Regenerate. * testsuite/README: Fix typo. * include/bits/codecvt.h: Remove warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41568 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/bits/std_cmath.h')
-rw-r--r--libstdc++-v3/include/c_std/bits/std_cmath.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cmath.h b/libstdc++-v3/include/c_std/bits/std_cmath.h
index 9ec828493e6..d37f900c139 100644
--- a/libstdc++-v3/include/c_std/bits/std_cmath.h
+++ b/libstdc++-v3/include/c_std/bits/std_cmath.h
@@ -722,13 +722,30 @@ namespace c99
template<typename _Tp>
int
- islessgreater(_Tp __f) { return __capture_islessgreater(__f); }
+ islessgreater(_Tp __f1, _Tp __f2)
+ { return __capture_islessgreater(__f1, __f2); }
template<typename _Tp>
int
isunordered(_Tp __f1, _Tp __f2)
{ return __capture_isunordered(__f1, __f2); }
}
+
+namespace std
+{
+ using c99::fpclassify;
+ using c99::isfinite;
+ using c99::isinf;
+ using c99::isnan;
+ using c99::isnormal;
+ using c99::signbit;
+ using c99::isgreater;
+ using c99::isgreaterequal;
+ using c99::isless;
+ using c99::islessequal;
+ using c99::islessgreater;
+ using c99::isunordered;
+}
#endif
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
OpenPOWER on IntegriCloud