Lines Matching refs:complex128
20 …const complex128 cmp{"(-13.1287830814621580803275551453741285,-15.20078446306795456220348102334273…
22 complex128 c{3, 4};
23 REQUIRE(std::is_same<complex128 &, decltype(c.exp())>::value);
25 REQUIRE(abs(complex128{c.m_value - cmp.m_value}) < 1E-32);
26 REQUIRE(std::is_same<complex128, decltype(exp(complex128{3, 4}))>::value);
27 REQUIRE(abs(complex128{exp(complex128{3, 4}).m_value - cmp.m_value}) < 1E-32);
32 …const complex128 cmp{"(1.6094379124341003746007593332261876,0.927295218001612232428512462922428794…
34 complex128 c{3, 4};
35 REQUIRE(std::is_same<complex128 &, decltype(c.log())>::value);
37 REQUIRE(abs(complex128{c.m_value - cmp.m_value}) < 1E-32);
38 REQUIRE(std::is_same<complex128, decltype(log(complex128{3, 4}))>::value);
39 REQUIRE(abs(complex128{log(complex128{3, 4}).m_value - cmp.m_value}) < 1E-32);
44 …const complex128 cmp{"(0.698970004336018804786261105275506932,0.4027191962733731420779004603874579…
46 complex128 c{3, 4};
47 REQUIRE(std::is_same<complex128 &, decltype(c.log10())>::value);
49 REQUIRE(abs(complex128{c.m_value - cmp.m_value}) < 1E-32);
50 REQUIRE(std::is_same<complex128, decltype(log10(complex128{3, 4}))>::value);
51 REQUIRE(abs(complex128{log10(complex128{3, 4}).m_value - cmp.m_value}) < 1E-32);