| /freebsd/include/ |
| H A D | complex.h | 46 #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/contrib/llvm-project/libcxx/include/ |
| H A D | complex | 14 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/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
| H A D | complex_cmath.h | 34 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 …]
|
| H A D | complex | 1 /*===-- 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/tools/regression/include/tgmath/ |
| H A D | tgmath.c | 63 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/lib/msun/tests/ |
| H A D | conj_test.c | 42 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 …]
|
| H A D | csqrt_test.c | 45 static long double complex (*t_csqrt)(long double complex); 47 static long double complex 48 _csqrtf(long double complex d) in _csqrtf() 51 return (csqrtf((float complex)d)); in _csqrtf() 54 static long double complex 55 _csqrt(long double complex d) in _csqrt() 58 return (csqrt((double complex)d)); in _csqrt() 215 long double complex result; in test_overflow() 256 long double complex result; in test_precision()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | complex.cppm | |
| H A D | complex.inc | 12 // [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/lib/msun/src/ |
| H A D | catrigf.c | 74 static float complex clog_for_large_values(float complex z); 144 float complex 145 casinhf(float complex z) in casinhf() 149 float complex w; in casinhf() 191 float complex 192 casinf(float complex z) in casinf() 194 float complex w = casinhf(CMPLXF(cimagf(z), crealf(z))); in casinf() 199 float complex 200 cacosf(float complex z) in cacosf() 205 float complex w; in cacosf() [all …]
|
| H A D | catrig.c | 62 static double complex clog_for_large_values(double complex z); 273 double complex 274 casinh(double complex z) in casinh() 278 double complex w; in casinh() 334 double complex 335 casin(double complex z) in casin() 337 double complex w = casinh(CMPLX(cimag(z), creal(z))); in casin() 354 double complex 355 cacos(double complex z) in cacos() 360 double complex w; in cacos() [all …]
|
| H A D | catrigl.c | 93 static long double complex clog_for_large_values(long double complex z); 163 long double complex 164 casinhl(long double complex z) in casinhl() 168 long double complex w; in casinhl() 210 long double complex 211 casinl(long double complex z) in casinl() 213 long double complex w; in casinl() 219 long double complex 220 cacosl(long double complex z) in cacosl() 225 long double complex w; in cacosl() [all …]
|
| H A D | s_cpowf.c | 50 float complex 51 cpowf(float complex a, float complex z) in cpowf() 53 float complex w; in cpowf()
|
| H A D | s_cpowl.c | 50 long double complex 51 cpowl(long double complex a, long double complex z) in cpowl() 53 long double complex w; in cpowl()
|
| H A D | s_cpow.c | 51 double complex 52 cpow(double complex a, double complex z) in cpow() 54 double complex w; in cpow()
|
| H A D | s_ctanh.c | 73 double complex 74 ctanh(double complex z) in ctanh() 139 double complex 140 ctan(double complex z) in ctan()
|
| H A D | s_ctanhf.c | 38 float complex 39 ctanhf(float complex z) in ctanhf() 77 float complex 78 ctanf(float complex z) in ctanf()
|
| H A D | s_csinhf.c | 40 float complex 41 csinhf(float complex z) in csinhf() 100 float complex 101 csinf(float complex z) in csinf()
|
| H A D | s_ccoshf.c | 40 float complex 41 ccoshf(float complex z) in ccoshf() 100 float complex 101 ccosf(float complex z) in ccosf()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/ |
| H A D | complex | 1 /*===---- 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/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | CSymbolMap.inc | 29 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/contrib/llvm-project/libcxx/include/__fwd/ |
| H A D | complex.h | 22 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/sys/contrib/device-tree/Bindings/pci/ |
| H A D | pci-msi.txt | 4 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/contrib/file/magic/Magdir/ |
| H A D | ti-8x | 28 >0x00003B byte 0x0C (complex number) 81 >0x00003B byte 0x0C (complex number) 94 >0x00003B byte 0x01 (complex number) 96 >0x00003B byte 0x03 (complex vector) 98 >0x00003B byte 0x05 (complex list) 100 >0x00003B byte 0x07 (complex matrix) 102 >0x00003B byte 0x09 (complex constant) 127 >0x00003B byte 0x01 (complex number) 129 >0x00003B byte 0x03 (complex vector) 131 >0x00003B byte 0x05 (complex list) [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libm/ |
| H A D | t_cabsl.cxx | 47 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()
|