Home
last modified time | relevance | path

Searched refs:complex (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/freebsd-13-stable/include/
HDcomplex.h46 #define complex _Complex macro
51 #define CMPLX(x, y) ((double complex){ x, y })
52 #define CMPLXF(x, y) ((float complex){ x, y })
53 #define CMPLXL(x, y) ((long double complex){ x, y })
63 double cabs(double complex);
64 float cabsf(float complex);
65 long double cabsl(long double complex);
66 double complex cacos(double complex);
67 float complex cacosf(float complex);
68 double complex cacosh(double complex);
[all …]
/freebsd-13-stable/contrib/llvm-project/libcxx/include/
HDcomplex14 complex synopsis
20 class complex
25 complex(const T& re = T(), const T& im = T()); // constexpr in C++14
26 complex(const complex&); // constexpr in C++14
27 template<class X> complex(const complex<X>&); // constexpr in C++14
35 complex<T>& operator= (const T&); // constexpr in C++20
36 complex<T>& operator+=(const T&); // constexpr in C++20
37 complex<T>& operator-=(const T&); // constexpr in C++20
38 complex<T>& operator*=(const T&); // constexpr in C++20
39 complex<T>& operator/=(const T&); // constexpr in C++20
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
HDcomplex_cmath.h34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs()
40 template <class _Tp> __DEVICE__ _Tp arg(const std::complex<_Tp> &__c) { in arg()
58 template <class _Tp> __DEVICE__ _Tp norm(const std::complex<_Tp> &__c) { in norm()
68 template <class _Tp> std::complex<_Tp> conj(const std::complex<_Tp> &__c) { in conj()
69 return std::complex<_Tp>(__c.real(), -__c.imag()); in conj()
74 template <class _Tp> std::complex<_Tp> proj(const std::complex<_Tp> &__c) { in proj()
75 std::complex<_Tp> __r = __c; in proj()
77 __r = std::complex<_Tp>(INFINITY, copysign(_Tp(0), __c.imag())); in proj()
84 complex<_Tp> polar(const _Tp &__rho, const _Tp &__theta = _Tp()) {
86 return std::complex<_Tp>(_Tp(NAN), _Tp(NAN));
[all …]
HDcomplex1 /*===-- complex --- OpenMP complex wrapper for target regions --------- c++ -===
17 // We require std::math functions in the complex builtins below.
35 #include_next <complex>
38 // after including <cmath> above. Since the complex header we use is a
41 // the (hopefully template) functions in the <complex> header with the ones we
43 // arithmetic and calls to non-complex functions, all of which we can then
/freebsd-13-stable/tools/regression/include/tgmath/
HDtgmath.c63 float complex (FNC ## f)(float complex x) { n_float_complex++; }\
64 double complex (FNC)(double complex x) { n_double_complex++; } \
65 long double complex \
66 (FNC ## l)(long double complex x) { n_long_double_complex++; }
69 float (FNC ## f)(float complex x) { n_float_complex++; } \
70 double (FNC)(double complex x) { n_double_complex++; } \
72 (FNC ## l)(long double complex x) { n_long_double_complex++; }
91 float complex (cpowf)(float complex x, float complex y) { n_float_complex++; } in TGMACRO()
92 double complex in complex() function
93 (cpow)(double complex x, double complex y) { n_double_complex++; } in complex()
[all …]
/freebsd-13-stable/lib/msun/tests/
HDconj_test.c42 static float complex (*libconjf)(float complex) = conjf;
43 static double complex (*libconj)(double complex) = conj;
44 static long double complex (*libconjl)(long double complex) = conjl;
45 static float (*libcrealf)(float complex) = crealf;
46 static double (*libcreal)(double complex) = creal;
47 static long double (*libcreall)(long double complex) = creall;
48 static float (*libcimagf)(float complex) = cimagf;
49 static double (*libcimag)(double complex) = cimag;
50 static long double (*libcimagl)(long double complex) = cimagl;
74 complex float in; in ATF_TC_BODY()
[all …]
HDcsqrt_test.c46 static long double complex (*t_csqrt)(long double complex);
48 static long double complex
49 _csqrtf(long double complex d) in _csqrtf()
52 return (csqrtf((float complex)d)); in _csqrtf()
55 static long double complex
56 _csqrt(long double complex d) in _csqrt()
59 return (csqrt((double complex)d)); in _csqrt()
216 long double complex result; in test_overflow()
257 long double complex result; in test_precision()
HDtest-utils.h81 static inline long double complex
84 long double complex z; in CMPLXL()
97 static int cfpequal(long double complex, long double complex) __used;
166 cfpequal(long double complex d1, long double complex d2) in cfpequal()
/freebsd-13-stable/lib/msun/src/
HDcatrig.c63 static double complex clog_for_large_values(double complex z);
274 double complex
275 casinh(double complex z) in casinh()
279 double complex w; in casinh()
335 double complex
336 casin(double complex z) in casin()
338 double complex w = casinh(CMPLX(cimag(z), creal(z))); in casin()
355 double complex
356 cacos(double complex z) in cacos()
361 double complex w; in cacos()
[all …]
HDcatrigf.c75 static float complex clog_for_large_values(float complex z);
145 float complex
146 casinhf(float complex z) in casinhf()
150 float complex w; in casinhf()
192 float complex
193 casinf(float complex z) in casinf()
195 float complex w = casinhf(CMPLXF(cimagf(z), crealf(z))); in casinf()
200 float complex
201 cacosf(float complex z) in cacosf()
206 float complex w; in cacosf()
[all …]
HDcatrigl.c94 static long double complex clog_for_large_values(long double complex z);
164 long double complex
165 casinhl(long double complex z) in casinhl()
169 long double complex w; in casinhl()
211 long double complex
212 casinl(long double complex z) in casinl()
214 long double complex w; in casinl()
220 long double complex
221 cacosl(long double complex z) in cacosl()
226 long double complex w; in cacosl()
[all …]
HDs_cpow.c52 double complex
53 cpow(double complex a, double complex z) in cpow()
55 double complex w; in cpow()
HDs_cpowf.c51 float complex
52 cpowf(float complex a, float complex z) in cpowf()
54 float complex w; in cpowf()
HDs_cpowl.c51 long double complex
52 cpowl(long double complex a, long double complex z) in cpowl()
54 long double complex w; in cpowl()
HDs_ctanhf.c39 float complex
40 ctanhf(float complex z) in ctanhf()
78 float complex
79 ctanf(float complex z) in ctanf()
HDs_ctanh.c74 double complex
75 ctanh(double complex z) in ctanh()
140 double complex
141 ctan(double complex z) in ctan()
HDs_ccoshf.c41 float complex
42 ccoshf(float complex z) in ccoshf()
97 float complex
98 ccosf(float complex z) in ccosf()
HDs_csinhf.c41 float complex
42 csinhf(float complex z) in csinhf()
97 float complex
98 csinf(float complex z) in csinf()
HDs_ccosh.c49 double complex
50 ccosh(double complex z) in ccosh()
151 double complex
152 ccos(double complex z) in ccos()
/freebsd-13-stable/contrib/llvm-project/libcxx/modules/std/
HDcomplex.inc12 // [complex], class template complex
13 using std::complex;
15 // [complex.ops], operators
27 // [complex.value.ops], values
39 // [complex.transcendentals], transcendentals
63 // [complex.tuple], tuple interface
69 // [complex.literals], complex literals
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
HDcomplex1 /*===---- complex - CUDA wrapper for <complex> ------------------------------===
27 // Wrapper around <complex> that forces its functions to be __host__
31 // <complex>, so that the pragma below only applies to <complex> itself.
46 // complex functions, rather than calling builtins (which resolve to library
53 // __host__ __device__ void complex<float> sin(const complex<float>& x) {
59 // void __host__ __device__ complex<T> sin(const complex<T>& x) {
60 // return complex<T>(sin(x.real()) * cosh(x.imag()),
82 #include_next <complex>
/freebsd-13-stable/contrib/llvm-project/libcxx/include/__fwd/
HDcomplex.h22 class _LIBCPP_TEMPLATE_VIS complex; variable
27 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& get(complex<_Tp>&) noexcept;
30 _LIBCPP_HIDE_FROM_ABI constexpr _Tp&& get(complex<_Tp>&&) noexcept;
33 _LIBCPP_HIDE_FROM_ABI constexpr const _Tp& get(const complex<_Tp>&) noexcept;
36 _LIBCPP_HIDE_FROM_ABI constexpr const _Tp&& get(const complex<_Tp>&&) noexcept;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
HDCSymbolMap.inc29 SYMBOL(CMPLX, None, <complex.h>)
30 SYMBOL(CMPLXF, None, <complex.h>)
31 SYMBOL(CMPLXL, None, <complex.h>)
88 SYMBOL(I, None, <complex.h>)
201 SYMBOL(_Complex_I, None, <complex.h>)
205 SYMBOL(_Imaginary_I, None, <complex.h>)
318 SYMBOL(cabs, None, <complex.h>)
319 SYMBOL(cabsf, None, <complex.h>)
320 SYMBOL(cabsl, None, <complex.h>)
321 SYMBOL(cacos, None, <complex.h>)
[all …]
/freebsd-13-stable/sys/contrib/device-tree/Bindings/pci/
HDpci-msi.txt4 Each PCI device under a root complex is uniquely identified by its Requester ID
26 PCI root complex
52 - msi-parent: Describes the MSI parent of the root complex itself. Where
53 the root complex and MSI controller do not pass sideband data with MSI
55 used by PCI devices under the root complex, if defined as such in the
56 binding for the root complex.
75 compatible = "vendor,pcie-root-complex";
103 compatible = "vendor,pcie-root-complex";
132 compatible = "vendor,pcie-root-complex";
162 compatible = "vendor,pcie-root-complex";
[all …]
/freebsd-13-stable/contrib/netbsd-tests/lib/libm/
HDt_cabsl.cxx47 std::complex<long double> cld(3.0,4.0); in ATF_TEST_CASE_BODY()
50 std::complex<double> cd(3.0,4.0); in ATF_TEST_CASE_BODY()
53 std::complex<float> cf(3.0,4.0); in ATF_TEST_CASE_BODY()

12345678910>>...14