gcc/libstdc++-v3/include/c_std
Gabriel Dos Reis cdc958d823 re PR libstdc++/3181 (Unable to use sqrt,cos,sin,... with int argument.)
PR libstdc++/3181
	* include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
	(acos): Handle integer argument.
	(asin): Likewise.
	(atan): Likewise.
	(atan2): Likewise.
	(ceil): Likewise.
	(cos): Likewise.
	(cosh): Likewise.
	(exp): Likewise.
	(fabs): Likewise.
	(floor): Likewise.
	(frexp): Likewise.
	(ldexp): Likewise.
	(log): Likewise.
	(log10): Likewise.
	(sin): Likewise.
	(sinh): Likewise.
	(sqrt): Likewise.
	(tan): Likewise.
	(tanh): Likewise.
	* include/bits/cpp_type_traits.h (__are_same<>): New traits.
	(__enable_if): Likewise.
	* testsuite/26_numerics/cmath/overloads.C: New test.

From-SVN: r66681
2003-05-11 09:07:17 +00:00
..
cmath.tcc Makefile.am (std_headers): Remove cXXX from list. 2002-01-04 21:27:36 +00:00
std_cassert.h acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly. 2002-03-23 03:19:03 +00:00
std_cctype.h re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared) 2002-04-30 19:50:29 +00:00
std_cerrno.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cfloat.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_ciso646.h acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly. 2002-03-23 03:19:03 +00:00
std_climits.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_clocale.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cmath.h re PR libstdc++/3181 (Unable to use sqrt,cos,sin,... with int argument.) 2003-05-11 09:07:17 +00:00
std_csetjmp.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_csignal.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cstdarg.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cstddef.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cstdio.h porting.texi (_GLIBCPP_USE_C99_CHECK): New macro. 2003-04-18 09:53:58 +00:00
std_cstdlib.h porting.texi (_GLIBCPP_USE_C99_CHECK): New macro. 2003-04-18 09:53:58 +00:00
std_cstring.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_ctime.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00
std_cwchar.h porting.texi (_GLIBCPP_USE_C99_CHECK): New macro. 2003-04-18 09:53:58 +00:00
std_cwctype.h c/: Guard with _CPP_. 2002-03-27 04:29:32 +00:00