@@ -37,8 +37,8 @@ inline _LIBCPP_HIDE_FROM_ABI long double remainder(long double __x, long double
3737}
3838
3939template <class _A1 , class _A2 , __enable_if_t <is_arithmetic<_A1>::value && is_arithmetic<_A2>::value, int > = 0 >
40- inline _LIBCPP_HIDE_FROM_ABI typename __promote <_A1, _A2>::type remainder (_A1 __x, _A2 __y) _NOEXCEPT {
41- using __result_type = typename __promote <_A1, _A2>::type ;
40+ inline _LIBCPP_HIDE_FROM_ABI __promote_t <_A1, _A2> remainder (_A1 __x, _A2 __y) _NOEXCEPT {
41+ using __result_type = __promote_t <_A1, _A2>;
4242 static_assert (!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), " " );
4343 return __math::remainder ((__result_type)__x, (__result_type)__y);
4444}
@@ -59,8 +59,8 @@ inline _LIBCPP_HIDE_FROM_ABI long double remquo(long double __x, long double __y
5959}
6060
6161template <class _A1 , class _A2 , __enable_if_t <is_arithmetic<_A1>::value && is_arithmetic<_A2>::value, int > = 0 >
62- inline _LIBCPP_HIDE_FROM_ABI typename __promote <_A1, _A2>::type remquo (_A1 __x, _A2 __y, int * __z) _NOEXCEPT {
63- using __result_type = typename __promote <_A1, _A2>::type ;
62+ inline _LIBCPP_HIDE_FROM_ABI __promote_t <_A1, _A2> remquo (_A1 __x, _A2 __y, int * __z) _NOEXCEPT {
63+ using __result_type = __promote_t <_A1, _A2>;
6464 static_assert (!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), " " );
6565 return __math::remquo ((__result_type)__x, (__result_type)__y, __z);
6666}
0 commit comments