/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | hypot.h | 48 using __result_type = typename __promote<_A1, _A2>::type; in hypot() local 49 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in hypot() 50 return __math::hypot((__result_type)__x, (__result_type)__y); in hypot() 96 using __result_type = typename __promote<_A1, _A2, _A3>::type; in hypot() local 98 …std::is_same_v<_A1, __result_type> && std::is_same_v<_A2, __result_type> && std::is_same_v<_A3, __… in hypot() 100 …static_cast<__result_type>(__x), static_cast<__result_type>(__y), static_cast<__result_type>(__z)); in hypot()
|
H A D | remainder.h | 42 using __result_type = typename __promote<_A1, _A2>::type; in remainder() local 43 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in remainder() 44 return __math::remainder((__result_type)__x, (__result_type)__y); in remainder() 64 using __result_type = typename __promote<_A1, _A2>::type; in remquo() local 65 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in remquo() 66 return __math::remquo((__result_type)__x, (__result_type)__y, __z); in remquo()
|
H A D | min_max.h | 43 using __result_type = typename __promote<_A1, _A2>::type; in fmax() local 44 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmax() 45 return __math::fmax((__result_type)__x, (__result_type)__y); in fmax() 65 using __result_type = typename __promote<_A1, _A2>::type; in fmin() local 66 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmin() 67 return __math::fmin((__result_type)__x, (__result_type)__y); in fmin()
|
H A D | fma.h | 44 using __result_type = typename __promote<_A1, _A2, _A3>::type; in fma() local 46 …!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value && _IsSame<_A3, __resul… in fma() 48 return __builtin_fma((__result_type)__x, (__result_type)__y, (__result_type)__z); in fma()
|
H A D | fdim.h | 39 using __result_type = typename __promote<_A1, _A2>::type; in fdim() local 40 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fdim() 41 return __math::fdim((__result_type)__x, (__result_type)__y); in fdim()
|
H A D | modulo.h | 41 using __result_type = typename __promote<_A1, _A2>::type; in fmod() local 42 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmod() 43 return __math::fmod((__result_type)__x, (__result_type)__y); in fmod()
|
H A D | inverse_trigonometric_functions.h | 90 using __result_type = typename __promote<_A1, _A2>::type; in atan2() local 91 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in atan2() 92 return __math::atan2((__result_type)__y, (__result_type)__x); in atan2()
|
H A D | exponential_functions.h | 162 using __result_type = typename __promote<_A1, _A2>::type; in pow() local 163 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in pow() 164 return __math::pow((__result_type)__x, (__result_type)__y); in pow()
|
H A D | rounding_functions.h | 162 using __result_type = typename __promote<_A1, _A2>::type; in nextafter() local 163 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in nextafter() 164 return __math::nextafter((__result_type)__x, (__result_type)__y); in nextafter()
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | operations.h | 33 typedef _Tp __result_type; // used by valarray typedef 67 typedef _Tp __result_type; // used by valarray 93 typedef _Tp __result_type; // used by valarray 119 typedef _Tp __result_type; // used by valarray 145 typedef _Tp __result_type; // used by valarray 171 typedef _Tp __result_type; // used by valarray 197 typedef _Tp __result_type; // used by valarray 242 typedef _Tp __result_type; // used by valarray 268 typedef _Tp __result_type; // used by valarray 296 typedef bool __result_type; // used by valarray [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | valarray | 433 typedef typename _Op::__result_type __result_type; 434 using value_type = __decay_t<__result_type>; 441 _LIBCPP_HIDE_FROM_ABI __result_type operator[](size_t __i) const { return __op_(__a0_[__i]); } 448 typedef typename _Op::__result_type __result_type; 449 using value_type = __decay_t<__result_type>; 458 …_LIBCPP_HIDE_FROM_ABI __result_type operator[](size_t __i) const { return __op_(__a0_[__i], __a1_[… 467 typedef const _Tp& __result_type; 476 _LIBCPP_HIDE_FROM_ABI __result_type operator[](size_t) const { return __t_; } 483 typedef _Tp __result_type; 489 typedef _Tp __result_type; [all …]
|
H A D | cmath | 631 typedef typename __promote<_A1, _A2, _A3>::type __result_type; 633 …_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value && _IsSame<_A3, __result_… 634 return std::__lerp((__result_type)__a, (__result_type)__b, (__result_type)__t);
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_cmath.h | 466 typedef typename __hip::__promote<__T1, __T2>::type __result_type; \ 467 return __fn((__result_type)__x, (__result_type)__y); \ 556 typedef typename __hip::__promote<__T1, __T2, __T3>::type __result_type; 557 return ::fma((__result_type)__x, (__result_type)__y, (__result_type)__z); 599 typedef typename __hip::__promote<__T1, __T2>::type __result_type; 600 return ::remquo((__result_type)__x, (__result_type)__y, __quo);
|
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/ |
H A D | cmath | 64 using __result_type = typename __promote<_Tp, _Up>::type; 65 return std::__constexpr_fmax(static_cast<__result_type>(__x), static_cast<__result_type>(__y));
|