Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 7 of 7) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
Dnorm.pass.cpp26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), ""); in test()
27 assert(std::norm(x) == norm(std::complex<double>(x, 0))); in test()
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), ""); in test()
35 assert(std::norm(x) == norm(std::complex<T>(x, 0))); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
Dnorm.pass.cpp26 assert(norm(z) == 25); in test()
34 double r = norm(x[i]); in test_edges()
/ndk/sources/cxx-stl/stlport/src/
Dnum_get_float.cpp232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) { in _Stl_norm_and_round() argument
233 norm = 0; in _Stl_norm_and_round()
247 norm = 1; in _Stl_norm_and_round()
300 int norm; /* number of bits of normalization */ in _Stl_tenscale() local
308 _Stl_norm_and_round(p, norm, prodhi, prodlo); in _Stl_tenscale()
309 bexp += _Stl_twoexp[hi] - norm; in _Stl_tenscale()
315 _Stl_norm_and_round(p, norm, prodhi, prodlo); in _Stl_tenscale()
316 bexp += _Stl_twoexp[lo] - norm; in _Stl_tenscale()
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk2409 $(call gen-test, numerics/complex.number/cmplx.over/norm)
2484 $(call gen-test, numerics/complex.number/complex.value.ops/norm)
2834 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/nothing_to_do)
2835 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/assign)
2836 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/copy)
2837 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_double_double)
2838 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_param)
2839 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eq)
2840 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eval_param)
2841 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eval)
[all …]
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk2418 $(call gen-test, numerics/complex.number/cmplx.over/norm)
2493 $(call gen-test, numerics/complex.number/complex.value.ops/norm)
2843 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/nothing_to_do)
2844 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/assign)
2845 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/copy)
2846 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_double_double)
2847 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ctor_param)
2848 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eq)
2849 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eval_param)
2850 $(call gen-test, numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/eval)
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcomplex188 template<class T> T norm(const complex<T>&);
189 long double norm(long double);
190 double norm(double);
191 template<Integral T> double norm(T);
192 float norm(float);
931 // norm
936 norm(const complex<_Tp>& __c)
947 norm(long double __re)
954 norm(double __re)
966 norm(_Tp __re)
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_complex.h741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z)