diff --git a/include/cmath b/include/cmath index f253b9344..75087ae78 100644 --- a/include/cmath +++ b/include/cmath @@ -767,7 +767,7 @@ inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __x) _NOEXCEPT {ret #endif template -inline _LIBCPP_ALWAYS_INLINE _LIBCPP_INLINE_VISIBILITY +inline _LIBCPP_INLINE_VISIBILITY typename enable_if::value, double>::type cos(_A1 __x) _NOEXCEPT {return cos((double)__x);}