diff options
Diffstat (limited to 'libstdc++-v3/include/tr1/cmath')
-rw-r--r-- | libstdc++-v3/include/tr1/cmath | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libstdc++-v3/include/tr1/cmath b/libstdc++-v3/include/tr1/cmath index 0f51604..1b9cc8a 100644 --- a/libstdc++-v3/include/tr1/cmath +++ b/libstdc++-v3/include/tr1/cmath @@ -371,10 +371,9 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1) namespace detail { template<typename _Tp, typename _Up> - inline typename - std::__enable_if<typename std::tr1::__promote_2<_Tp, _Up>::__type, - (std::__is_floating<_Tp>::__value - || std::__is_floating<_Up>::__value)>::__type + inline typename __gnu_cxx::__enable_if<std::__is_floating<_Tp>::__value + || std::__is_floating<_Up>::__value, + typename std::tr1::__promote_2<_Tp, _Up>::__type>::__type atan2(_Tp __y, _Up __x) { typedef typename std::tr1::__promote_2<_Tp, _Up>::__type __type; @@ -384,7 +383,7 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1) using std::atan2; using detail::atan2; - + inline float atanh(float __x) { return __builtin_atanhf(__x); } |