HomeSort by relevance Sort by last modified time
    Searched refs:imag (Results 101 - 125 of 485) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.value.ops/
imag.pass.cpp 14 // imag(const complex<T>& x);
24 assert(imag(z) == 2.5);
proj.pass.cpp 50 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i])));
54 assert(imag(r) == 0);
55 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i])));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
cmathmodule.c 101 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \
104 [special_type((z).imag)]; \
133 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) {
135 r.real = atan2(fabs(z.imag), z.real);
139 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) +
140 M_LN2*2., z.imag);
142 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) +
143 M_LN2*2., -z.imag);
    [all...]
  /external/python/cpython2/Modules/
cmathmodule.c 101 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \
104 [special_type((z).imag)]; \
133 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) {
135 r.real = atan2(fabs(z.imag), z.real);
139 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) +
140 M_LN2*2., z.imag);
142 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) +
143 M_LN2*2., -z.imag);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
cmathmodule.c 101 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \
104 [special_type((z).imag)]; \
133 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) {
135 r.real = atan2(fabs(z.imag), z.real);
139 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) +
140 M_LN2*2., z.imag);
142 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) +
143 M_LN2*2., -z.imag);
    [all...]
  /external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
log10.pass.cpp 49 if (std::isnan(imag(r)))
50 assert(std::isnan(imag(z)));
53 assert(imag(r) == imag(z));
54 assert(std::signbit(imag(r)) == std::signbit(imag(z)));
pow_complex_scalar.pass.cpp 27 is_about(imag(c), imag(x));
52 if (std::isnan(imag(r)))
53 assert(std::isnan(imag(z)));
56 assert(imag(r) == imag(z));
pow_scalar_complex.pass.cpp 27 assert(std::abs(imag(c)) < 1.e-6);
52 if (std::isnan(imag(r)))
53 assert(std::isnan(imag(z)));
56 assert(imag(r) == imag(z));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.transcendentals/
log10.pass.cpp 49 if (std::isnan(imag(r)))
50 assert(std::isnan(imag(z)));
53 assert(imag(r) == imag(z));
54 assert(std::signbit(imag(r)) == std::signbit(imag(z)));
pow_complex_scalar.pass.cpp 27 is_about(imag(c), imag(x));
52 if (std::isnan(imag(r)))
53 assert(std::isnan(imag(z)));
56 assert(imag(r) == imag(z));
pow_scalar_complex.pass.cpp 27 assert(std::abs(imag(c)) < 1.e-6);
52 if (std::isnan(imag(r)))
53 assert(std::isnan(imag(z)));
56 assert(imag(r) == imag(z));
  /external/webrtc/webrtc/modules/audio_processing/beamformer/
covariance_matrix_generator_unittest.cc 46 EXPECT_NEAR(actual_els[0][0].imag(), 0.f, kTolerance);
47 EXPECT_NEAR(actual_els[0][1].imag(), 0.f, kTolerance);
48 EXPECT_NEAR(actual_els[1][0].imag(), 0.f, kTolerance);
49 EXPECT_NEAR(actual_els[1][1].imag(), 0.f, kTolerance);
79 EXPECT_NEAR(actual_els[0][0].imag(), 0.f, kTolerance);
80 EXPECT_NEAR(actual_els[0][1].imag(), 0.f, kTolerance);
81 EXPECT_NEAR(actual_els[0][2].imag(), 0.f, kTolerance);
82 EXPECT_NEAR(actual_els[1][0].imag(), 0.f, kTolerance);
83 EXPECT_NEAR(actual_els[1][1].imag(), 0.f, kTolerance);
84 EXPECT_NEAR(actual_els[1][2].imag(), 0.f, kTolerance)
    [all...]
  /prebuilts/go/darwin-x86/src/math/cmplx/
asin.go 52 if imag(x) == 0 && math.Abs(real(x)) <= 1 {
53 return complex(math.Asin(real(x)), imag(x))
55 ct := complex(-imag(x), real(x)) // i * x
57 x1 := complex(1-real(xx), -imag(xx)) // 1 - x*x
60 return complex(imag(w), -real(w)) // -i * w
65 if imag(x) == 0 && math.Abs(real(x)) <= 1 {
66 return complex(math.Asinh(real(x)), imag(x))
69 x1 := complex(1+real(xx), imag(xx)) // 1 + x*x
89 return complex(math.Pi/2-real(w), -imag(w))
95 if imag(w) <= 0
    [all...]
  /prebuilts/go/linux-x86/src/math/cmplx/
asin.go 52 if imag(x) == 0 && math.Abs(real(x)) <= 1 {
53 return complex(math.Asin(real(x)), imag(x))
55 ct := complex(-imag(x), real(x)) // i * x
57 x1 := complex(1-real(xx), -imag(xx)) // 1 - x*x
60 return complex(imag(w), -real(w)) // -i * w
65 if imag(x) == 0 && math.Abs(real(x)) <= 1 {
66 return complex(math.Asinh(real(x)), imag(x))
69 x1 := complex(1+real(xx), imag(xx)) // 1 + x*x
89 return complex(math.Pi/2-real(w), -imag(w))
95 if imag(w) <= 0
    [all...]
  /external/libcxx/test/std/numerics/complex.number/cmplx.over/
UDT_is_rejected.fail.cpp 40 std::imag(ft); // expected-error {{no matching function}}
41 std::imag(dt); // expected-error {{no matching function}}
42 std::imag(ldt); // expected-error {{no matching function}}
43 std::imag(it); // expected-error {{no matching function}}
44 std::imag(uit); // expected-error {{no matching function}}
  /external/libcxx/test/std/numerics/complex.number/complex.value.ops/
proj.pass.cpp 50 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i])));
54 assert(imag(r) == 0);
55 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i])));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/cmplx.over/
UDT_is_rejected.fail.cpp 40 std::imag(ft); // expected-error {{no matching function}}
41 std::imag(dt); // expected-error {{no matching function}}
42 std::imag(ldt); // expected-error {{no matching function}}
43 std::imag(it); // expected-error {{no matching function}}
44 std::imag(uit); // expected-error {{no matching function}}
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
complexobject.c 38 r.imag = a.imag + b.imag;
47 r.imag = a.imag - b.imag;
56 r.imag = -a.imag;
64 r.real = a.real*b.real - a.imag*b.imag;
    [all...]
  /external/python/cpython2/Objects/
complexobject.c 38 r.imag = a.imag + b.imag;
47 r.imag = a.imag - b.imag;
56 r.imag = -a.imag;
64 r.real = a.real*b.real - a.imag*b.imag;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
complexobject.c 38 r.imag = a.imag + b.imag;
47 r.imag = a.imag - b.imag;
56 r.imag = -a.imag;
64 r.real = a.real*b.real - a.imag*b.imag;
    [all...]
  /external/python/cpython3/Objects/
complexobject.c 20 r.imag = a.imag + b.imag;
29 r.imag = a.imag - b.imag;
38 r.imag = -a.imag;
46 r.real = a.real*b.real - a.imag*b.imag;
    [all...]
  /prebuilts/go/darwin-x86/test/
cmplxdivide.go 18 if imag(a) != imag(b) && !(math.IsNaN(imag(a)) && math.IsNaN(imag(b))) {
  /prebuilts/go/linux-x86/test/
cmplxdivide.go 18 if imag(a) != imag(b) && !(math.IsNaN(imag(a)) && math.IsNaN(imag(b))) {
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
truncconst_test.go 50 if got := imag(i52 - 1i); got != f52want {
51 t.Errorf("imag(i52-1i) = %g, want %g", got, f52want)
53 if got := imag(complex128(i52) - 1i); got != f52want {
54 t.Errorf("imag(complex128(i52)-1i) = %g, want %g", got, f52want)
56 if got := imag(i53 - 1i); got != f53want {
57 t.Errorf("imag(i53-1i) = %g, want %g", got, f53want)
59 if got := imag(complex128(i53) - 1i); got != 0 {
60 t.Errorf("imag(complex128(i53)-1i) = %g, want 0", got)
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
truncconst_test.go 50 if got := imag(i52 - 1i); got != f52want {
51 t.Errorf("imag(i52-1i) = %g, want %g", got, f52want)
53 if got := imag(complex128(i52) - 1i); got != f52want {
54 t.Errorf("imag(complex128(i52)-1i) = %g, want %g", got, f52want)
56 if got := imag(i53 - 1i); got != f53want {
57 t.Errorf("imag(i53-1i) = %g, want %g", got, f53want)
59 if got := imag(complex128(i53) - 1i); got != 0 {
60 t.Errorf("imag(complex128(i53)-1i) = %g, want 0", got)

Completed in 620 milliseconds

1 2 3 45 6 7 8 91011>>