Home
last modified time | relevance | path

Searched refs:__result_type (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__math/
H A Dremainder.h42 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 Dmin_max.h43 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 Dfma.h44 using __result_type = typename __promote<_A1, _A2, _A3>::type; in fma() local
45 static_assert((!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value && in fma()
46 _IsSame<_A3, __result_type>::value)), in fma()
48 return __builtin_fma((__result_type)__x, (__result_type)__y, (__result_type)__z); in fma()
H A Dhypot.h39 using __result_type = typename __promote<_A1, _A2>::type; in hypot() local
40 static_assert((!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value)), ""); in hypot()
41 return __math::hypot((__result_type)__x, (__result_type)__y); in hypot()
H A Dfdim.h39 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 Dmodulo.h41 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 Dinverse_trigonometric_functions.h90 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 Dexponential_functions.h162 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 Drounding_functions.h162 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-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Doperations.h34 typedef _Tp __result_type; // used by valarray typedef
68 typedef _Tp __result_type; // used by valarray
94 typedef _Tp __result_type; // used by valarray
120 typedef _Tp __result_type; // used by valarray
146 typedef _Tp __result_type; // used by valarray
172 typedef _Tp __result_type; // used by valarray
197 typedef _Tp __result_type; // used by valarray
241 typedef _Tp __result_type; // used by valarray
267 typedef _Tp __result_type; // used by valarray
295 typedef bool __result_type; // used by valarray
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcmath564 typedef typename __promote<_A1, _A2, _A3>::type __result_type;
565 static_assert((!(is_same<_A1, __result_type>::value && is_same<_A2, __result_type>::value &&
566 is_same<_A3, __result_type>::value)),
568 return std::hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
632 typedef typename std::__promote<_A1, _A2>::type __result_type;
633 …static_assert((!(std::_IsSame<_A1, __result_type>::value && std::_IsSame<_A2, __result_type>::valu…
634 return __builtin_copysign((__result_type)__x, (__result_type)__y);
697 using __result_type = typename __promote<_Tp, _Up>::type;
698 return std::__constexpr_fmax(static_cast<__result_type>(__x), static_cast<__result_type>(__y));
803 …_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value && _IsSame<_A3, __result_…
[all …]
H A Dvalarray433 typedef typename _Op::__result_type __result_type;
448 typedef typename _Op::__result_type __result_type;
483 typedef _Tp __result_type;
910 typedef typename _Op::__result_type __result_type;
925 typedef typename _Op::__result_type __result_type;
942 typedef typename _Op::__result_type __result_type;
959 typedef typename _Op::__result_type __result_type;
1786 typedef typename _RmExpr::__result_type __result_type;
1838 __result_type __r = __n ? __expr_[0] : __result_type();
1846 __result_type __r = __n ? (*this)[0] : __result_type();
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/
H A D__clang_hip_cmath.h466 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-14.2/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcmath64 using __result_type = typename __promote<_Tp, _Up>::type;
65 return std::__constexpr_fmax(static_cast<__result_type>(__x), static_cast<__result_type>(__y));