Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 28) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp63 double x_mean = std::exp(d.m() + sqr(d.s())/2); in main()
64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main()
65 double x_skew = (std::exp(sqr(d.s())) + 2) * in main()
66 std::sqrt((std::exp(sqr(d.s())) - 1)); in main()
67 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main()
68 3*std::exp(2*sqr(d.s())) - 6; in main()
105 double x_mean = std::exp(d.m() + sqr(d.s())/2); in main()
106 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main()
107 double x_skew = (std::exp(sqr(d.s())) + 2) * in main()
108 std::sqrt((std::exp(sqr(d.s())) - 1)); in main()
[all …]
Deval_param.pass.cpp65 double x_mean = std::exp(p.m() + sqr(p.s())/2); in main()
66 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main()
67 double x_skew = (std::exp(sqr(p.s())) + 2) * in main()
68 std::sqrt((std::exp(sqr(p.s())) - 1)); in main()
69 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + in main()
70 3*std::exp(2*sqr(p.s())) - 6; in main()
108 double x_mean = std::exp(p.m() + sqr(p.s())/2); in main()
109 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); in main()
110 double x_skew = (std::exp(sqr(p.s())) + 2) * in main()
111 std::sqrt((std::exp(sqr(p.s())) - 1)); in main()
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dnum_get_float.cpp149 void _Stl_set_exponent(uint64 &val, uint64 exp) in _Stl_set_exponent() argument
150 { val = (val & ~exponent_mask) | ((exp & bit11) << 52); } in _Stl_set_exponent()
269 static void _Stl_tenscale(uint64& p, int exp, int& bexp) { in _Stl_tenscale() argument
272 if ( exp == 0 ) { /* no scaling needed */ in _Stl_tenscale()
276 int exp_hi = 0, exp_lo = exp; /* exp = exp_hi*32 + exp_lo */ in _Stl_tenscale()
280 if (exp > 0) { /* split exponent */ in _Stl_tenscale()
651 int exp; in _Stl_string_to_double() local
669 exp = 0; in _Stl_string_to_double()
676 exp += (decimal_point ^ 1); in _Stl_string_to_double()
683 exp -= decimal_point; in _Stl_string_to_double()
[all …]
Dcomplex.cpp203 _Tp expx = ::exp(z._M_re); in expT()
207 _STLP_DECLSPEC complex<float> _STLP_CALL exp(const complex<float>& z) in exp() function
210 _STLP_DECLSPEC complex<double> _STLP_CALL exp(const complex<double>& z) in exp() function
214 _STLP_DECLSPEC complex<long double> _STLP_CALL exp(const complex<long double>& z) in exp() function
275 _Tp x = ::exp(logr * b._M_re); in powT()
295 _Tp x = ::exp(logr * b); in powT()
305 _Tp x = ::exp(logr * b._M_re - logi * b._M_im); in powT()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_como.h91 inline long double expl(long double arg) { return exp(arg); } in expl()
125 # define expf exp
126 inline long double expl(long double arg) { return exp(arg); } in expl()
164 inline long double expl(long double arg) { return exp(arg); } in expl()
/ndk/sources/cxx-stl/llvm-libc++/test/support/
Dhexfloat.h27 hexfloat(long long m1, unsigned long long m0, int exp) in hexfloat() argument
32 std::__clz(m0)/4*4)), exp); in hexfloat()
/ndk/tests/device/test-stlport/unit/
Dcmath_test.cpp91 CPPUNIT_CHECK( are_equals(std::exp(0.0), 1.0) ); in import_checks()
92 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0)), 1.0) ); in import_checks()
116 CPPUNIT_CHECK( are_equals(std::exp(0.0f), 1.0f) ); in import_checks()
117 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0f)), 1.0f) ); in import_checks()
142 CPPUNIT_CHECK( are_equals(std::exp(0.0l), 1.0l) ); in import_checks()
143 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0l)), 1.0l) ); in import_checks()
Dvalarray_test.cpp53 tmp = exp(darray); in transcendentals()
79 tmp = exp(farray); in transcendentals()
106 tmp = exp(ldarray); in transcendentals()
/ndk/tests/device/test-gnustl-full/unit/
Dcmath_test.cpp91 CPPUNIT_CHECK( are_equals(std::exp(0.0), 1.0) ); in import_checks()
92 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0)), 1.0) ); in import_checks()
116 CPPUNIT_CHECK( are_equals(std::exp(0.0f), 1.0f) ); in import_checks()
117 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0f)), 1.0f) ); in import_checks()
142 CPPUNIT_CHECK( are_equals(std::exp(0.0l), 1.0l) ); in import_checks()
143 CPPUNIT_CHECK( are_equals(std::log(std::exp(1.0l)), 1.0l) ); in import_checks()
Dvalarray_test.cpp53 tmp = exp(darray); in transcendentals()
79 tmp = exp(farray); in transcendentals()
106 tmp = exp(ldarray); in transcendentals()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dexp_valarray.pass.cpp46 std::valarray<T> v3 = exp(v1); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/
Dexp.pass.cpp25 assert(exp(c) == x); in test()
40 std::complex<double> r = exp(x[i]); 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()
Dpow_scalar_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(std::complex<double>(real(x[i])))); in test_edges()
Dpow_complex_complex.pass.cpp46 std::complex<double> z = exp(x[j] * log(x[i])); in test_edges()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
368 _STLP_DMATH_INLINE(exp) in _STLP_DMATH_INLINE()
439 _STLP_DEF_MATH_INLINE(exp, exp)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
561 using ::exp;
D_complex.h868 _STLP_DECLSPEC complex<float> _STLP_CALL exp(const complex<float>&);
887 _STLP_DECLSPEC complex<double> _STLP_CALL exp(const complex<double>&);
906 _STLP_DECLSPEC complex<long double> _STLP_CALL exp(const complex<long double>&);
D_valarray.h974 inline valarray<_Tp> exp(const valarray<_Tp>& __x) { in exp() function
978 __tmp[__i] = ::exp(__x[__i]); in exp()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Ddc.sed206 /|?^/b exp
295 : exp
/ndk/sources/cxx-stl/gabi++/include/
Dcmath57 using ::exp;
/ndk/sources/cxx-stl/system/include/
Dcmath57 using ::exp;
/ndk/sources/cxx-stl/llvm-libc++/include/
Dcmath78 floating_point exp (arithmetic x);
94 floating_point frexp (arithmetic value, int* exp);
95 float frexpf(float value, int* exp);
96 long double frexpl(long double value, int* exp);
98 floating_point ldexp (arithmetic value, int exp);
99 float ldexpf(float value, int exp);
100 long double ldexpl(long double value, int exp);
788 // exp
790 using ::exp;
796 inline _LIBCPP_INLINE_VISIBILITY float exp(float __x) _NOEXCEPT {return expf(__x);}
[all …]
Dcomplex217 template<class T> complex<T> exp (const complex<T>&);
1139 // exp
1143 exp(const complex<_Tp>& __x)
1162 _Tp __e = exp(__x.real());
1173 return exp(__y * log(__x));
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/c.math/
Dcmath.pass.cpp158 static_assert((std::is_same<decltype(std::exp((float)0)), float>::value), ""); in test_exp()
159 static_assert((std::is_same<decltype(std::exp((bool)0)), double>::value), ""); in test_exp()
160 static_assert((std::is_same<decltype(std::exp((unsigned short)0)), double>::value), ""); in test_exp()
161 static_assert((std::is_same<decltype(std::exp((int)0)), double>::value), ""); in test_exp()
162 static_assert((std::is_same<decltype(std::exp((unsigned int)0)), double>::value), ""); in test_exp()
163 static_assert((std::is_same<decltype(std::exp((long)0)), double>::value), ""); in test_exp()
164 static_assert((std::is_same<decltype(std::exp((unsigned long)0)), double>::value), ""); in test_exp()
165 static_assert((std::is_same<decltype(std::exp((long long)0)), double>::value), ""); in test_exp()
166 static_assert((std::is_same<decltype(std::exp((unsigned long long)0)), double>::value), ""); in test_exp()
167 static_assert((std::is_same<decltype(std::exp((double)0)), double>::value), ""); in test_exp()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.c.headers/
Dmath_h.pass.cpp76 static_assert((std::is_same<decltype(exp((double)0)), double>::value), ""); in test_exp()
79 assert(exp(0) == 1); in test_exp()

12