Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 99) sorted by relevance

1234

/ndk/sources/cxx-stl/stlport/src/
Dcomplex_trig.cpp68 static complex<_Tp> sinT(const complex<_Tp>& z) { in sinT() argument
69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), in sinT()
70 ::cos(z._M_re) * ::sinh(z._M_im)); in sinT()
73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) in sin() argument
74 { return sinT(z); } in sin()
76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z) in sin() argument
77 { return sinT(z); } in sin()
80 _STLP_DECLSPEC complex<long double> _STLP_CALL sin(const complex<long double>& z) in sin() argument
81 { return sinT(z); } in sin()
87 static complex<_Tp> cosT(const complex<_Tp>& z) { in cosT() argument
[all …]
Dcomplex.cpp167 static complex<_Tp> sqrtT(const complex<_Tp>& z) { in sqrtT() argument
168 _Tp re = z._M_re; in sqrtT()
169 _Tp im = z._M_im; in sqrtT()
188 sqrt(const complex<float>& z) { return sqrtT(z); } in sqrt() argument
191 sqrt(const complex<double>& z) { return sqrtT(z); } in sqrt() argument
195 sqrt(const complex<long double>& z) { return sqrtT(z); } in sqrt() argument
202 static complex<_Tp> expT(const complex<_Tp>& z) { in expT() argument
203 _Tp expx = ::exp(z._M_re); in expT()
204 return complex<_Tp>(expx * ::cos(z._M_im), in expT()
205 expx * ::sin(z._M_im)); in expT()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/repetition/
Denum.hpp50 # define BOOST_PP_ENUM_M_1(z, n, md) BOOST_PP_ENUM_M_1_IM(z, n, BOOST_PP_TUPLE_REM_2 md) argument
51 # define BOOST_PP_ENUM_M_2(z, n, md) BOOST_PP_ENUM_M_2_IM(z, n, BOOST_PP_TUPLE_REM_2 md) argument
52 # define BOOST_PP_ENUM_M_3(z, n, md) BOOST_PP_ENUM_M_3_IM(z, n, BOOST_PP_TUPLE_REM_2 md) argument
53 # define BOOST_PP_ENUM_M_1_IM(z, n, im) BOOST_PP_ENUM_M_1_I(z, n, im) argument
54 # define BOOST_PP_ENUM_M_2_IM(z, n, im) BOOST_PP_ENUM_M_2_I(z, n, im) argument
55 # define BOOST_PP_ENUM_M_3_IM(z, n, im) BOOST_PP_ENUM_M_3_I(z, n, im) argument
57 # define BOOST_PP_ENUM_M_1(z, n, md) BOOST_PP_ENUM_M_1_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BO… argument
58 # define BOOST_PP_ENUM_M_2(z, n, md) BOOST_PP_ENUM_M_2_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BO… argument
59 # define BOOST_PP_ENUM_M_3(z, n, md) BOOST_PP_ENUM_M_3_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BO… argument
62 # define BOOST_PP_ENUM_M_1_I(z, n, m, d) BOOST_PP_COMMA_IF(n) m(z, n, d) argument
[all …]
Denum_binary_params.hpp32 # define BOOST_PP_ENUM_BINARY_PARAMS_M(z, n, pp) BOOST_PP_ENUM_BINARY_PARAMS_M_IM(z, n, BOOST_PP… argument
33 # define BOOST_PP_ENUM_BINARY_PARAMS_M_IM(z, n, im) BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, im) argument
35 # define BOOST_PP_ENUM_BINARY_PARAMS_M(z, n, pp) BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, BOOST_PP_… argument
39 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1… argument
40 # define BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1, p2) BOOST_PP_COMMA_IF(n) p1 ## n p2 ## n argument
42 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1, n) … argument
48 # define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_E… argument
50 # define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, coun… argument
51 # define BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP… argument
Drepeat_from_to.hpp67 # define BOOST_PP_REPEAT_FROM_TO_M_1(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_1_IM(z, n, BOOST_PP_T… argument
68 # define BOOST_PP_REPEAT_FROM_TO_M_2(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_2_IM(z, n, BOOST_PP_T… argument
69 # define BOOST_PP_REPEAT_FROM_TO_M_3(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_3_IM(z, n, BOOST_PP_T… argument
70 # define BOOST_PP_REPEAT_FROM_TO_M_1_IM(z, n, im) BOOST_PP_REPEAT_FROM_TO_M_1_I(z, n, im) argument
71 # define BOOST_PP_REPEAT_FROM_TO_M_2_IM(z, n, im) BOOST_PP_REPEAT_FROM_TO_M_2_I(z, n, im) argument
72 # define BOOST_PP_REPEAT_FROM_TO_M_3_IM(z, n, im) BOOST_PP_REPEAT_FROM_TO_M_3_I(z, n, im) argument
74 # define BOOST_PP_REPEAT_FROM_TO_M_1(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_1_I(z, n, BOOST_PP_TU… argument
75 # define BOOST_PP_REPEAT_FROM_TO_M_2(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_2_I(z, n, BOOST_PP_TU… argument
76 # define BOOST_PP_REPEAT_FROM_TO_M_3(z, n, dfmd) BOOST_PP_REPEAT_FROM_TO_M_3_I(z, n, BOOST_PP_TU… argument
79 # define BOOST_PP_REPEAT_FROM_TO_M_1_I(z, n, d, f, m, dt) BOOST_PP_REPEAT_FROM_TO_M_1_II(z, BOOST_P… argument
[all …]
Denum_trailing_params.hpp27 # define BOOST_PP_ENUM_TRAILING_PARAMS_M(z, n, param) , param ## n argument
32 # define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_… argument
34 # define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) BOOST_PP_ENUM_TRAILING_PARAMS_Z_I(z, c… argument
35 # define BOOST_PP_ENUM_TRAILING_PARAMS_Z_I(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_P… argument
Denum_params.hpp30 # define BOOST_PP_ENUM_PARAMS_M(z, n, param) BOOST_PP_COMMA_IF(n) param ## n argument
35 # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_PARA… argument
37 # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_ENUM_PARAMS_Z_I(z, count, param) argument
38 # define BOOST_PP_ENUM_PARAMS_Z_I(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_PA… argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/
Dlayout.pass.cpp19 std::complex<T> z; in test() local
20 T* a = (T*)&z; in test()
21 assert(0 == z.real()); in test()
22 assert(0 == z.imag()); in test()
23 assert(a[0] == z.real()); in test()
24 assert(a[1] == z.imag()); in test()
27 assert(a[0] == z.real()); in test()
28 assert(a[1] == z.imag()); in test()
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
Dautomatic16 .SUFFIXES: .x .y .z
17 $(dir)/foo.x : baz.z $(dir)/bar.y baz.z
26 $(dir)/bar.y baz.z : ; touch $@
34 &utouch(-10, qw(foo.x baz.z));
40 \$< = baz.z, \$(<D) = ., \$(<F) = baz.z
41 \$^ = baz.z $dir/bar.y, \$(^D) = . $dir, \$(^F) = baz.z bar.y
42 \$+ = baz.z $dir/bar.y baz.z, \$(+D) = . $dir ., \$(+F) = baz.z bar.y baz.z
47 unlink(qw(foo.x bar.y baz.z));
63 $(dir)/x.z $(dir)/y.z: $(dir)/%.z : $@.% $$@.% $$$@.% $$$$@.% $$(@D).% $$(@F).%
74 &run_make_with_options($makefile2, "$dir/x.z $dir/y.z", &get_logfile);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
Dpolar.pass.cpp54 std::complex<double> z = std::polar(r, theta); in test_edges() local
60 int c = classify(z); in test_edges()
65 assert(z == std::complex<double>()); in test_edges()
71 int c = classify(z); in test_edges()
76 is_about(std::abs(z), r); in test_edges()
82 int c = classify(z); in test_edges()
87 assert(classify(z) == inf); in test_edges()
90 assert(classify(real(z)) != NaN); in test_edges()
91 assert(classify(imag(z)) != NaN); in test_edges()
98 int c = classify(z); in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
Dlog10.pass.cpp42 std::complex<double> z = log(x[i])/std::log(10); in test_edges() local
44 assert(std::isnan(real(z))); in test_edges()
47 assert(real(r) == real(z)); in test_edges()
48 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
51 assert(std::isnan(imag(z))); in test_edges()
54 assert(imag(r) == imag(z)); in test_edges()
55 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dcos.pass.cpp44 std::complex<double> z = cosh(t1); in test_edges() local
46 assert(std::isnan(real(z))); in test_edges()
49 assert(real(r) == real(z)); in test_edges()
50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
53 assert(std::isnan(imag(z))); in test_edges()
56 assert(imag(r) == imag(z)); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dsin.pass.cpp45 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
47 assert(std::isnan(real(z))); in test_edges()
50 assert(real(r) == real(z)); in test_edges()
51 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
58 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Datan.pass.cpp44 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
46 assert(std::isnan(real(z))); in test_edges()
49 assert(real(r) == real(z)); in test_edges()
50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
53 assert(std::isnan(imag(z))); in test_edges()
56 assert(imag(r) == imag(z)); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dtan.pass.cpp46 std::complex<double> z(imag(t2), -real(t2)); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
55 assert(std::isnan(imag(z))); in test_edges()
58 assert(imag(r) == imag(z)); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dpow_complex_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(x[i])); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
55 assert(std::isnan(imag(z))); in test_edges()
58 assert(imag(r) == imag(z)); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dpow_scalar_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(std::complex<double>(real(x[i])))); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
Dpow_complex_scalar.pass.cpp46 std::complex<double> z = exp(std::complex<double>(real(x[j])) * log(x[i])); in test_edges() local
48 assert(std::isnan(real(z))); in test_edges()
51 assert(real(r) == real(z)); in test_edges()
54 assert(std::isnan(imag(z))); in test_edges()
57 assert(imag(r) == imag(z)); in test_edges()
/ndk/sources/android/support/src/msun/
Dk_logf.h29 float hfsq,s,z,R,w,t1,t2; in k_log1pf() local
32 z = s*s; in k_log1pf()
33 w = z*z; in k_log1pf()
35 t2= z*(Lg1+w*Lg3); in k_log1pf()
Dk_log.h90 double hfsq,s,z,R,w,t1,t2; in k_log1p() local
93 z = s*s; in k_log1p()
94 w = z*z; in k_log1p()
96 t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); in k_log1p()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
Dunary_plus.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(z.real() == 1.5); in test()
25 assert(z.imag() == 2.5); in test()
26 std::complex<T> c = +z; in test()
Dunary_minus.pass.cpp23 std::complex<T> z(1.5, 2.5); in test() local
24 assert(z.real() == 1.5); in test()
25 assert(z.imag() == 2.5); in test()
26 std::complex<T> c = -z; in test()
/ndk/sources/android/support/src/stdio/
Dvfprintf.c234 uint32_t *a, *d, *r, *z; in fmt_fp() local
317 if (e2<0) a=r=z=big; in fmt_fp()
318 else a=r=z=big+sizeof(big)/sizeof(*big) - LDBL_MANT_DIG - 1; in fmt_fp()
321 *z = y; in fmt_fp()
322 y = 1000000000*(y-*z++); in fmt_fp()
328 for (d=z-1; d>=a; d--) { in fmt_fp()
333 if (!z[-1] && z>a) z--; in fmt_fp()
340 for (d=a; d<z; d++) { in fmt_fp()
346 if (carry) *z++ = carry; in fmt_fp()
349 if (z-b > 2+p/9) z = b+2+p/9; in fmt_fp()
[all …]
/ndk/sources/android/support/src/wcstox/
Dfloatscan.c91 int i, j, k, a, z; in decfloat() local
183 z = k; in decfloat()
201 for (k=a; k!=z; k++) { in decfloat()
210 if (carry) x[z++] = carry; in decfloat()
218 for (k=(z-1 & MASK); ; k=(k-1 & MASK)) { in decfloat()
227 if (k==(z-1 & MASK) && k!=a && !x[k]) z = k; in decfloat()
233 if (a == z) { in decfloat()
234 z = (z-1 & MASK); in decfloat()
235 x[z-1 & MASK] |= x[z]; in decfloat()
247 if (k == z || x[k] < th[i]) { in decfloat()
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Dreg-stack.cpp26 double z = x*x+y*y; in bar() local
27 if (z != 25.0) in bar()
29 return z; in bar()

1234