/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | traits.h | 31 template <class _A1, __enable_if_t<is_floating_point<_A1>::value, int> = 0> 32 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() 36 template <class _A1, __enable_if_t<is_integral<_A1>::value && is_signed<_A1>::value, int> = 0> 37 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() 41 template <class _A1, __enable_if_t<is_integral<_A1>::value && !is_signed<_A1>::value, int> = 0> 42 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1) _NOEXCEPT { in signbit() argument 48 template <class _A1, __enable_if_t<is_arithmetic<_A1>::value && numeric_limits<_A1>::has_infinity, … 49 _LIBCPP_NODISCARD _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isfinite(_A1 __x) _NOEXC… in isfinite() 50 return __builtin_isfinite((typename __promote<_A1>::type)__x); in isfinite() 53 template <class _A1, __enable_if_t<is_arithmetic<_A1>::value && !numeric_limits<_A1>::has_infinity,… [all …]
|
H A D | rounding_functions.h | 40 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 41 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double ceil(_A1 __x) _NOEXCEPT { in ceil() 58 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 59 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double floor(_A1 __x) _NOEXCEPT { in floor() 74 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 75 inline _LIBCPP_HIDE_FROM_ABI long long llrint(_A1 __x) _NOEXCEPT { in llrint() 90 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 91 inline _LIBCPP_HIDE_FROM_ABI long long llround(_A1 __x) _NOEXCEPT { in llround() 106 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 107 inline _LIBCPP_HIDE_FROM_ABI long lrint(_A1 __x) _NOEXCEPT { in lrint() [all …]
|
H A D | exponential_functions.h | 38 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 39 inline _LIBCPP_HIDE_FROM_ABI double exp(_A1 __x) _NOEXCEPT { in exp() 56 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 57 inline _LIBCPP_HIDE_FROM_ABI double frexp(_A1 __x, int* __e) _NOEXCEPT { in frexp() 74 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 75 inline _LIBCPP_HIDE_FROM_ABI double ldexp(_A1 __x, int __e) _NOEXCEPT { in ldexp() 90 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 91 inline _LIBCPP_HIDE_FROM_ABI double exp2(_A1 __x) _NOEXCEPT { in exp2() 106 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 107 inline _LIBCPP_HIDE_FROM_ABI double expm1(_A1 __x) _NOEXCEPT { in expm1() [all …]
|
H A D | inverse_trigonometric_functions.h | 38 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 39 inline _LIBCPP_HIDE_FROM_ABI double acos(_A1 __x) _NOEXCEPT { in acos() 54 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 55 inline _LIBCPP_HIDE_FROM_ABI double asin(_A1 __x) _NOEXCEPT { in asin() 70 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 71 inline _LIBCPP_HIDE_FROM_ABI double atan(_A1 __x) _NOEXCEPT { in atan() 88 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 89 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type atan2(_A1 __y, _A2 __x) _NOEXCEPT { in atan2() 90 using __result_type = typename __promote<_A1, _A2>::type; in atan2() 91 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in atan2()
|
H A D | remainder.h | 40 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 41 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type remainder(_A1 __x, _A2 __y) _NOEXCE… in remainder() 42 using __result_type = typename __promote<_A1, _A2>::type; in remainder() 43 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in remainder() 62 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 63 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type remquo(_A1 __x, _A2 __y, int* __z) … in remquo() 64 using __result_type = typename __promote<_A1, _A2>::type; in remquo() 65 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in remquo()
|
H A D | min_max.h | 41 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 42 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type fmax(_A1 __x, _A2… in fmax() 43 using __result_type = typename __promote<_A1, _A2>::type; in fmax() 44 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmax() 63 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 64 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type fmin(_A1 __x, _A2… in fmin() 65 using __result_type = typename __promote<_A1, _A2>::type; in fmin() 66 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmin()
|
H A D | hypot.h | 46 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 47 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type hypot(_A1 __x, _A2 __y) _NOEXCEPT { in hypot() 48 using __result_type = typename __promote<_A1, _A2>::type; in hypot() 49 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in hypot() 91 template <class _A1, 94 … std::enable_if_t< is_arithmetic_v<_A1> && is_arithmetic_v<_A2> && is_arithmetic_v<_A3>, int> = 0 > 95 _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2, _A3>::type hypot(_A1 __x, _A2 __y, _A3 __z) _NOE… in hypot() 96 using __result_type = typename __promote<_A1, _A2, _A3>::type; in hypot() 98 …std::is_same_v<_A1, __result_type> && std::is_same_v<_A2, __result_type> && std::is_same_v<_A3, __… in hypot()
|
H A D | fdim.h | 37 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 38 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type fdim(_A1 __x, _A2 __y) _NOEXCEPT { in fdim() 39 using __result_type = typename __promote<_A1, _A2>::type; in fdim() 40 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fdim()
|
H A D | roots.h | 35 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 36 inline _LIBCPP_HIDE_FROM_ABI double sqrt(_A1 __x) _NOEXCEPT { in sqrt() 53 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 54 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double cbrt(_A1 __x) _NOEXCEPT { in cbrt()
|
H A D | fma.h | 39 template <class _A1, 42 …__enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::value && is_arithmetic<_A3>::value,… 43 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2, _A3>::type fma(_A1 __x, _A2 __y, _A3 __z)… in fma() 44 using __result_type = typename __promote<_A1, _A2, _A3>::type; in fma() 46 …!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value && _IsSame<_A3, __resul… in fma()
|
H A D | modulo.h | 39 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 40 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type fmod(_A1 __x, _A2 __y) _NOEXCEPT { in fmod() 41 using __result_type = typename __promote<_A1, _A2>::type; in fmod() 42 static_assert(!(_IsSame<_A1, __result_type>::value && _IsSame<_A2, __result_type>::value), ""); in fmod()
|
H A D | copysign.h | 36 template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::valu… 37 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type copysign(_A1 __x,… in copysign()
|
H A D | abs.h | 37 template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0> 38 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double fabs(_A1 __x) _NOEXCEPT { in fabs()
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | weak_result_type.h | 65 template <class _A1, class _A2, class _Rp> 66 static __binary_function<_A1, _A2, _Rp> __test(const volatile __binary_function<_A1, _A2, _Rp>*); 128 template <class _Rp, class _A1> 129 struct __weak_result_type<_Rp(_A1)> : public __unary_function<_A1, _Rp> {}; 131 template <class _Rp, class _A1> 132 struct __weak_result_type<_Rp (&)(_A1)> : public __unary_function<_A1, _Rp> {}; 134 template <class _Rp, class _A1> [all...] |
H A D | function.h | 97 template <class _Rp, class _A1> 98 struct __maybe_derive_from_unary_function<_Rp(_A1)> : public __unary_function<_A1, _Rp> {}; 103 template <class _Rp, class _A1, class _A2> 104 struct __maybe_derive_from_binary_function<_Rp(_A1, _A2)> : public __binary_function<_A1, _A2, _Rp>…
|
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
H A D | promote.h | 82 template <class _A1, 85 …bool = __numeric_type<_A1>::value && __numeric_type<_A2>::value && __numeric_type<_A3>::value> 91 template <class _A1, class _A2, class _A3> 92 class __promote_imp<_A1, _A2, _A3, true> { 94 typedef typename __promote_imp<_A1>::type __type1; 103 template <class _A1, class _A2> 104 class __promote_imp<_A1, _A2, void, true> { 106 typedef typename __promote_imp<_A1>::type __type1; 114 template <class _A1> 115 class __promote_imp<_A1, void, void, true> { [all …]
|
H A D | aligned_storage.h | 75 template <size_t _Len, size_t _A1, size_t _A2> 78 static const size_t __min = _A2 < _A1 ? _A2 : _A1; 79 static const size_t __max = _A1 < _A2 ? _A2 : _A1;
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | cmath | 557 template <class _A1, __enable_if_t<is_floating_point<_A1>::value, int> = 0> 558 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isnan(_A1 __lcpp_x) _NOEXCEPT { 566 template <class _A1, __enable_if_t<!is_floating_point<_A1>::value, int> = 0> 567 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isnan(_A1 __lcpp_x) _NOEXCEPT { 571 template <class _A1, __enable_if_t<is_floating_point<_A1>::value, int> = 0> 572 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isinf(_A1 __lcpp_x) _NOEXCEPT { 580 template <class _A1, __enable_if_t<!is_floating_point<_A1>::value, int> = 0> 581 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isinf(_A1 __lcpp_x) _NOEXCEPT { 585 template <class _A1, __enable_if_t<is_floating_point<_A1>::value, int> = 0> 586 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isfinite(_A1 __lcpp_x) _NOEXCEPT { [all …]
|
H A D | math.h | 405 template <class _A1, std::__enable_if_t<std::is_integral<_A1>::value, int> = 0> 406 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI int fpclassify(_A1 __x) _NOEXCEPT { in fpclassify()
|
H A D | valarray | 446 template <class _Op, class _A0, class _A1> 453 _A1 __a1_; 455 _LIBCPP_HIDE_FROM_ABI _BinaryOp(const _Op& __op, const _A0& __a0, const _A1& __a1) 979 template <class _Op, class _Tp, class _A1> 980 struct _BinaryOp<_Op, valarray<_Tp>, _A1> { 986 _A1 __a1_; 988 _LIBCPP_HIDE_FROM_ABI _BinaryOp(const _Op& __op, const valarray<_Tp>& __a0, const _A1& __a1)
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_cmath.h | 404 template <class _A1, class _A2 = void, class _A3 = void, 405 bool = __numeric_type<_A1>::value &&__numeric_type<_A2>::value 412 template <class _A1, class _A2, class _A3> 413 class __promote_imp<_A1, _A2, _A3, true> { 415 typedef typename __promote_imp<_A1>::type __type1; 424 template <class _A1, class _A2> class __promote_imp<_A1, _A2, void, true> { 426 typedef typename __promote_imp<_A1>::type __type1; 434 template <class _A1> class __promote_imp<_A1, void, void, true> { 436 typedef typename __numeric_type<_A1>::type type; 440 template <class _A1, class _A2 = void, class _A3 = void> [all …]
|