Home
last modified time | relevance | path

Searched refs:cmplx_type (Results 1 – 25 of 37) sorted by relevance

12

/dports/lang/gcc48/gcc-4.8.5/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gnat_util/gcc-6-20180516/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc6-aux/gcc-6-20180516/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/devel/mingw32-gcc/gcc-4.8.1/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A Dfunctions.cc29 typedef std::complex<T> cmplx_type; in test01_do() typedef
31 cmplx_type ans; in test01_do()
33 ans = std::tr1::acos(cmplx_type(1.0, 1.0)); in test01_do()
34 ans = std::tr1::asin(cmplx_type(1.0, 1.0)); in test01_do()
35 ans = std::tr1::atan(cmplx_type(1.0, 1.0)); in test01_do()
37 ans = std::tr1::acosh(cmplx_type(1.0, 1.0)); in test01_do()
38 ans = std::tr1::asinh(cmplx_type(1.0, 1.0)); in test01_do()
39 ans = std::tr1::atanh(cmplx_type(1.0, 1.0)); in test01_do()
40 ans = std::tr1::fabs(cmplx_type(1.0, 1.0)); in test01_do()
/dports/math/muparserx/muparserx-4.0.11/parser/
H A DmpFuncCmplx.cpp157 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
186 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
225 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
261 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
291 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
320 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
385 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
443 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
472 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
501 cmplx_type v(a_pArg[0]->GetFloat(), a_pArg[0]->GetImag()); in Eval()
[all …]
H A DmpValue.cpp130 Value::Value(const cmplx_type& v) in Value()
331 m_val = cmplx_type(0, 0); in Reset()
346 m_val = cmplx_type((float_type)val, 0); in operator =()
362 m_val = cmplx_type(a_iVal, 0); in operator =()
378 m_val = cmplx_type(val, 0); in operator =()
394 m_val = cmplx_type(); in operator =()
412 m_val = cmplx_type(); in operator =()
430 m_val = cmplx_type(0, 0); in operator =()
447 IValue& Value::operator=(const cmplx_type& val) in operator =()
668 const cmplx_type& Value::GetComplex() const in GetComplex()
[all …]
H A DmpValue.h66 Value(const cmplx_type &v);
87 virtual IValue& operator=(const cmplx_type &val) override;
98 virtual const cmplx_type& GetComplex() const override;
113 operator cmplx_type();
121cmplx_type m_val; ///< Member variable for storing the value of complex, float, int and boole…
H A DmpTest.cpp446 iNumErr += EqnTest(_T("1i"), cmplx_type(0, 1), true, 0); in TestComplex()
458 cmplx_type(4.0 / 3, 0)), true, 0); in TestComplex()
465 iNumErr += EqnTest(_T("sqrt(f)"), cmplx_type(0, 1), true, 1); in TestComplex()
474 iNumErr += EqnTest(_T("a=1+2i"), cmplx_type(1, 2), true, 1); in TestComplex()
477 iNumErr += EqnTest(_T("a*i"), cmplx_type(0, 1), true, 1); in TestComplex()
503 Value cVal = cmplx_type(1, 1); in TestParserValue()
560 Value y = cmplx_type(0, 1); in TestParserValue()
569 y = cmplx_type(0, 1); in TestParserValue()
1631 cVal[0] = mup::cmplx_type(1, 1); in EqnTest()
1632 cVal[1] = mup::cmplx_type(2, 3); in EqnTest()
[all …]

12