Home
last modified time | relevance | path

Searched refs:__x (Results 1 – 25 of 224) sorted by relevance

123456789

/openbsd/src/gnu/llvm/clang/lib/Headers/
Dtgmath.h49 #define __tg_promote1(__x) (__typeof__(__tg_promote(__x))) argument
50 #define __tg_promote2(__x, __y) (__typeof__(__tg_promote(__x) + \ argument
52 #define __tg_promote3(__x, __y, __z) (__typeof__(__tg_promote(__x) + \ argument
60 __tg_acos(float __x) {return acosf(__x);} in __tg_acos() argument
64 __tg_acos(double __x) {return acos(__x);} in __tg_acos() argument
68 __tg_acos(long double __x) {return acosl(__x);} in __tg_acos() argument
72 __tg_acos(float _Complex __x) {return cacosf(__x);} in __tg_acos() argument
76 __tg_acos(double _Complex __x) {return cacos(__x);} in __tg_acos() argument
80 __tg_acos(long double _Complex __x) {return cacosl(__x);} in __tg_acos() argument
83 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) argument
[all …]
D__clang_hip_math.h144 int abs(int __x) {
145 int __sgn = __x >> (sizeof(int) * CHAR_BIT - 1);
146 return (__x ^ __sgn) - __sgn;
149 long labs(long __x) {
150 long __sgn = __x >> (sizeof(long) * CHAR_BIT - 1);
151 return (__x ^ __sgn) - __sgn;
154 long long llabs(long long __x) {
155 long long __sgn = __x >> (sizeof(long long) * CHAR_BIT - 1);
156 return (__x ^ __sgn) - __sgn;
161 float acosf(float __x) { return __ocml_acos_f32(__x); }
[all …]
D__clang_cuda_cmath.h43 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs() argument
44 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs() argument
45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos() argument
46 __DEVICE__ float asin(float __x) { return ::asinf(__x); } in asin() argument
47 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan() argument
48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2() argument
49 __DEVICE__ float ceil(float __x) { return ::ceilf(__x); } in ceil() argument
50 __DEVICE__ float cos(float __x) { return ::cosf(__x); } in cos() argument
51 __DEVICE__ float cosh(float __x) { return ::coshf(__x); } in cosh() argument
52 __DEVICE__ float exp(float __x) { return ::expf(__x); } in exp() argument
[all …]
D__clang_hip_cmath.h40 __DEVICE__ __CONSTEXPR__ float fabs(float __x) { return ::fabsf(__x); } in fabs() argument
41 __DEVICE__ __CONSTEXPR__ float sin(float __x) { return ::sinf(__x); } in sin() argument
42 __DEVICE__ __CONSTEXPR__ float cos(float __x) { return ::cosf(__x); } in cos() argument
44 __DEVICE__ __CONSTEXPR__ double abs(double __x) { return ::fabs(__x); } in abs() argument
45 __DEVICE__ __CONSTEXPR__ float abs(float __x) { return ::fabsf(__x); } in abs() argument
48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { in fma() argument
49 return ::fmaf(__x, __y, __z); in fma()
54 __DEVICE__ __CONSTEXPR__ int fpclassify(float __x) { in fpclassify() argument
56 FP_ZERO, __x); in fpclassify()
58 __DEVICE__ __CONSTEXPR__ int fpclassify(double __x) { in fpclassify() argument
[all …]
/openbsd/src/gnu/llvm/libcxx/include/
Dmath.h370 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() argument
371 return __builtin_signbit(__x); in signbit()
375 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() argument
376 return __x < 0; in signbit()
387 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI int fpclassify(_A1 __x) _NOEXCEPT { in fpclassify() argument
388 return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, __x); in fpclassify()
392 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI int fpclassify(_A1 __x) _NOEXCEPT { in fpclassify() argument
393 return __x == 0 ? FP_ZERO : FP_NORMAL; in fpclassify()
403 _LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isfinite(_A1 __x) _N… in isfinite() argument
404 return __builtin_isfinite((typename std::__promote<_A1>::type)__x); in isfinite()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/c_std/
Dstd_cmath.h172 abs(double __x) in abs() argument
173 { return __builtin_fabs(__x); } in abs()
176 abs(float __x) in abs() argument
177 { return __builtin_fabsf(__x); } in abs()
180 abs(long double __x) in abs() argument
181 { return __builtin_fabsl(__x); } in abs()
185 acos(float __x) { return __gnu_cxx::__c99_binding::acosf(__x); } in acos() argument
188 acos(float __x) { return ::acos(static_cast<double>(__x)); } in acos() argument
195 acos(long double __x) { return ::acosl(__x); } in acos() argument
198 acos(long double __x) { return ::acos(static_cast<double>(__x)); } in acos() argument
[all …]
/openbsd/src/gnu/llvm/clang/lib/Headers/openmp_wrappers/
Dcomplex_cmath.h97 _Tp __x = __rho * cos(__theta);
98 if (std::isnan(__x))
99 __x = 0;
103 return std::complex<_Tp>(__x, __y);
108 template <class _Tp> std::complex<_Tp> log(const std::complex<_Tp> &__x) { in log() argument
109 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log()
114 template <class _Tp> std::complex<_Tp> log10(const std::complex<_Tp> &__x) { in log10() argument
115 return log(__x) / log(_Tp(10)); in log10()
121 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) { in sqrt() argument
122 if (std::isinf(__x.imag())) in sqrt()
[all …]
Dcmath43 __DEVICE__ float acosh(float __x) { return ::acoshf(__x); }
44 __DEVICE__ float asinh(float __x) { return ::asinhf(__x); }
45 __DEVICE__ float atanh(float __x) { return ::atanhf(__x); }
46 __DEVICE__ float cbrt(float __x) { return ::cbrtf(__x); }
47 __DEVICE__ float erf(float __x) { return ::erff(__x); }
48 __DEVICE__ float erfc(float __x) { return ::erfcf(__x); }
49 __DEVICE__ float exp2(float __x) { return ::exp2f(__x); }
50 __DEVICE__ float expm1(float __x) { return ::expm1f(__x); }
51 __DEVICE__ float fdim(float __x, float __y) { return ::fdimf(__x, __y); }
52 __DEVICE__ float hypot(float __x, float __y) { return ::hypotf(__x, __y); }
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/c_std/
Dstd_cmath.h89 abs(double __x) in abs() argument
90 { return __builtin_fabs(__x); } in abs()
93 abs(float __x) in abs() argument
94 { return __builtin_fabsf(__x); } in abs()
97 abs(long double __x) in abs() argument
98 { return __builtin_fabsl(__x); } in abs()
103 acos(float __x) in acos() argument
104 { return __builtin_acosf(__x); } in acos()
107 acos(long double __x) in acos() argument
108 { return __builtin_acosl(__x); } in acos()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Dtree.cc63 _Rb_tree_increment(_Rb_tree_node_base* __x) in _GLIBCXX_BEGIN_NAMESPACE()
65 if (__x->_M_right != 0) in _GLIBCXX_BEGIN_NAMESPACE()
67 __x = __x->_M_right; in _GLIBCXX_BEGIN_NAMESPACE()
68 while (__x->_M_left != 0) in _GLIBCXX_BEGIN_NAMESPACE()
69 __x = __x->_M_left; in _GLIBCXX_BEGIN_NAMESPACE()
73 _Rb_tree_node_base* __y = __x->_M_parent; in _GLIBCXX_BEGIN_NAMESPACE()
74 while (__x == __y->_M_right) in _GLIBCXX_BEGIN_NAMESPACE()
76 __x = __y; in _GLIBCXX_BEGIN_NAMESPACE()
79 if (__x->_M_right != __y) in _GLIBCXX_BEGIN_NAMESPACE()
80 __x = __y; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dstl_tree.h105 _S_minimum(_Base_ptr __x) in _S_minimum()
107 while (__x->_M_left != 0) __x = __x->_M_left; in _S_minimum()
108 return __x; in _S_minimum()
112 _S_maximum(_Base_ptr __x) in _S_maximum()
114 while (__x->_M_right != 0) __x = __x->_M_right; in _S_maximum()
115 return __x; in _S_maximum()
195 _Rb_tree_iterator(_Link_type __x) { _M_node = __x; } in _Rb_tree_iterator()
233 operator==(const _Rb_tree_iterator<_Val, _Ref, _Ptr>& __x,
235 { return __x._M_node == __y._M_node; }
239 operator==(const _Rb_tree_iterator<_Val, const _Val&, const _Val*>& __x,
[all …]
Dstl_multiset.h76 inline bool operator==(const multiset<_Key,_Compare,_Alloc>& __x,
80 inline bool operator<(const multiset<_Key,_Compare,_Alloc>& __x,
133 multiset(const multiset<_Key,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {} in multiset() argument
136 operator=(const multiset<_Key,_Compare,_Alloc>& __x) {
137 _M_t = __x._M_t;
154 void swap(multiset<_Key,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap() argument
157 iterator insert(const value_type& __x) { in insert() argument
158 return _M_t.insert_equal(__x); in insert()
160 iterator insert(iterator __position, const value_type& __x) { in insert() argument
162 return _M_t.insert_equal((_Rep_iterator&)__position, __x); in insert()
[all …]
Dstl_set.h76 inline bool operator==(const set<_Key,_Compare,_Alloc>& __x,
80 inline bool operator<(const set<_Key,_Compare,_Alloc>& __x,
131 set(const set<_Key,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {} in set() argument
132 set<_Key,_Compare,_Alloc>& operator=(const set<_Key, _Compare, _Alloc>& __x)
134 _M_t = __x._M_t;
151 void swap(set<_Key,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap() argument
154 pair<iterator,bool> insert(const value_type& __x) { in insert() argument
155 pair<typename _Rep_type::iterator, bool> __p = _M_t.insert_unique(__x); in insert()
158 iterator insert(iterator __position, const value_type& __x) { in insert() argument
160 return _M_t.insert_unique((_Rep_iterator&)__position, __x); in insert()
[all …]
Dstl_function.h129 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } in operator()
135 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } in operator()
141 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } in operator()
147 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } in operator()
154 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } in operator()
161 _Tp operator()(const _Tp& __x) const { return -__x; } in operator()
176 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } in operator()
183 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } in operator()
190 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } in operator()
197 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } in operator()
[all …]
Dstl_multimap.h76 inline bool operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x,
80 inline bool operator<(const multimap<_Key,_Tp,_Compare,_Alloc>& __x,
125 bool operator()(const value_type& __x, const value_type& __y) const in operator()
126 { return comp(__x.first, __y.first); } in operator()
174 multimap(const multimap& __x) in multimap() argument
175 : _M_t(__x._M_t) { } in multimap()
226 operator=(const multimap& __x)
228 _M_t = __x._M_t;
326 insert(const value_type& __x) { return _M_t.insert_equal(__x); } in insert() argument
349 insert(iterator __position, const value_type& __x) in insert() argument
[all …]
Dstl_map.h111 bool operator()(const value_type& __x, const value_type& __y) const in operator()
112 { return comp(__x.first, __y.first); } in operator()
161 map(const map& __x) in map() argument
162 : _M_t(__x._M_t) { } in map()
212 operator=(const map& __x)
214 _M_t = __x._M_t;
339 insert(const value_type& __x) in insert() argument
340 { return _M_t.insert_unique(__x); } in insert()
363 insert(iterator position, const value_type& __x) in insert() argument
364 { return _M_t.insert_unique(position, __x); } in insert()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/tr1/
Dcmath335 acosh(float __x)
336 { return __builtin_acoshf(__x); }
339 acosh(long double __x)
340 { return __builtin_acoshl(__x); }
344 acosh(_Tp __x)
347 return acosh(__type(__x));
353 asinh(float __x)
354 { return __builtin_asinhf(__x); }
357 asinh(long double __x)
358 { return __builtin_asinhl(__x); }
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dstl_tree.h104 _S_minimum(_Base_ptr __x) in _S_minimum()
106 while (__x->_M_left != 0) __x = __x->_M_left; in _S_minimum()
107 return __x; in _S_minimum()
111 _S_minimum(_Const_Base_ptr __x) in _S_minimum()
113 while (__x->_M_left != 0) __x = __x->_M_left; in _S_minimum()
114 return __x; in _S_minimum()
118 _S_maximum(_Base_ptr __x) in _S_maximum()
120 while (__x->_M_right != 0) __x = __x->_M_right; in _S_maximum()
121 return __x; in _S_maximum()
125 _S_maximum(_Const_Base_ptr __x) in _S_maximum()
[all …]
Dstl_function.h137 operator()(const _Tp& __x, const _Tp& __y) const in operator()
138 { return __x + __y; } in operator()
146 operator()(const _Tp& __x, const _Tp& __y) const in operator()
147 { return __x - __y; } in operator()
155 operator()(const _Tp& __x, const _Tp& __y) const in operator()
156 { return __x * __y; } in operator()
164 operator()(const _Tp& __x, const _Tp& __y) const in operator()
165 { return __x / __y; } in operator()
173 operator()(const _Tp& __x, const _Tp& __y) const in operator()
174 { return __x % __y; } in operator()
[all …]
Dstl_multiset.h183 multiset(const multiset<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
184 : _M_t(__x._M_t) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
194 operator=(const multiset<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
196 _M_t = __x._M_t; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
278 swap(multiset<_Key, _Compare, _Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
279 { _M_t.swap(__x._M_t); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
294 insert(const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
295 { return _M_t._M_insert_equal(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
318 insert(iterator __position, const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
319 { return _M_t._M_insert_equal(__position, __x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
[all …]
Dstl_list.h81 swap(_List_node_base& __x, _List_node_base& __y);
127 _List_iterator(_List_node_base* __x) in _List_iterator()
128 : _M_node(__x) { } in _List_iterator()
170 operator==(const _Self& __x) const
171 { return _M_node == __x._M_node; }
174 operator!=(const _Self& __x) const
175 { return _M_node != __x._M_node; }
205 _List_const_iterator(const _List_node_base* __x) in _List_const_iterator()
206 : _M_node(__x) { } in _List_const_iterator()
208 _List_const_iterator(const iterator& __x) in _List_const_iterator()
[all …]
Dstl_set.h193 set(const set<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
194 : _M_t(__x._M_t) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
204 operator=(const set<_Key, _Compare, _Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
206 _M_t = __x._M_t; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
286 swap(set<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
287 { _M_t.swap(__x._M_t); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
304 insert(const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
307 _M_t._M_insert_unique(__x); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
331 insert(iterator __position, const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
332 { return _M_t._M_insert_unique(__position, __x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
[all …]
Dstl_multimap.h121 bool operator()(const value_type& __x, const value_type& __y) const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
122 { return comp(__x.first, __y.first); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
173 multimap(const multimap& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
174 : _M_t(__x._M_t) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
225 operator=(const multimap& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
227 _M_t = __x._M_t; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
339 insert(const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
340 { return _M_t._M_insert_equal(__x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
363 insert(iterator __position, const value_type& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
364 { return _M_t._M_insert_equal(__position, __x); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/
Dstl_hash_fun.h93 size_t operator()(char __x) const { return __x; }
96 size_t operator()(unsigned char __x) const { return __x; }
99 size_t operator()(unsigned char __x) const { return __x; }
102 size_t operator()(short __x) const { return __x; }
105 size_t operator()(unsigned short __x) const { return __x; }
108 size_t operator()(int __x) const { return __x; }
111 size_t operator()(unsigned int __x) const { return __x; }
114 size_t operator()(long __x) const { return __x; }
117 size_t operator()(unsigned long __x) const { return __x; }
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Dhash_fun.h102 operator()(char __x) const
103 { return __x; }
110 operator()(unsigned char __x) const
111 { return __x; }
118 operator()(unsigned char __x) const
119 { return __x; }
126 operator()(short __x) const
127 { return __x; }
134 operator()(unsigned short __x) const
135 { return __x; }
[all …]

123456789