Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h231 # define _STLP_DEF_MATH_INLINE(func,cf) \ argument
232 _STLP_MATH_INLINE(float,func,cf##f) \
233 _STLP_MATH_INLINE_D(double,func,cf) \
234 _STLP_MATH_INLINE(long double,func,cf##l)
235 # define _STLP_DEF_MATH_INLINE2(func,cf) \ argument
236 _STLP_MATH_INLINE2(float,float,func,cf##f) \
237 _STLP_MATH_INLINE2_D(double,double,func,cf) \
238 _STLP_MATH_INLINE2(long double,long double,func,cf##l)
239 # define _STLP_DEF_MATH_INLINE2P(func,cf) \ argument
240 _STLP_MATH_INLINE2(float,float *,func,cf##f) \
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.special/
Dlong_double_float_explicit.pass.cpp25 std::complex<long double> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<long double> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_double_explicit.pass.cpp25 std::complex<long double> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<long double> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_float_implicit.pass.cpp25 std::complex<double> cf = cd; in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<double> cf = cd; in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_double_implicit.pass.cpp25 std::complex<long double> cf = cd; in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<long double> cf = cd; in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_double_explicit.pass.cpp25 std::complex<float> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<float> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_long_double_explicit.pass.cpp25 std::complex<double> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<double> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_float_explicit.pass.cpp25 std::complex<double> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<double> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_long_double_explicit.pass.cpp25 std::complex<float> cf(cd); in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<float> cf(cd); in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_float_implicit.pass.cpp25 std::complex<long double> cf = cd; in main() local
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
32 constexpr std::complex<long double> cf = cd; in main() local
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_double_implicit.fail.cpp24 std::complex<float> cf = cd; in main() local
25 assert(cf.real() == cd.real()); in main()
26 assert(cf.imag() == cd.imag()); in main()
Dfloat_long_double_implicit.fail.cpp24 std::complex<float> cf = cd; in main() local
25 assert(cf.real() == cd.real()); in main()
26 assert(cf.imag() == cd.imag()); in main()
Ddouble_long_double_implicit.fail.cpp24 std::complex<double> cf = cd; in main() local
25 assert(cf.real() == cd.real()); in main()
26 assert(cf.imag() == cd.imag()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/
Dtuple.by.type.pass.cpp19 typedef std::complex<float> cf; in main() typedef
21 auto t1 = std::tuple<int, std::string, cf> { 42, "Hi", { 1,2 }}; in main()
24 assert ( std::get<cf>(t1).real() == 1 ); // find at the end in main()
25 assert ( std::get<cf>(t1).imag() == 2 ); in main()
29 auto t2 = std::tuple<int, std::string, int, cf> { 42, "Hi", 23, { 1,2 }}; in main()
32 assert (( std::get<cf>(t2) == cf{ 1,2 } )); in main()
Dtuple.by.type1.fail.cpp19 typedef std::complex<float> cf; in main() typedef
21 assert ( std::get<cf>(t1) == cf {1,2} ); // no such type in main()
Dtuple.by.type3.fail.cpp19 typedef std::complex<float> cf; in main() typedef
20 auto t1 = std::make_tuple<double, int, std::string, cf, int> ( 42, 21, "Hi", { 1,2 } ); in main()
Dtuple.by.type2.fail.cpp19 typedef std::complex<float> cf; in main() typedef
20 auto t1 = std::make_tuple<int, int, std::string, cf> ( 42, 21, "Hi", { 1,2 } ); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.memfn/
Dmember_function.pass.cpp34 const F& cf = f; in test0() local
35 assert(cf(ap) == 'a'); in test0()
48 const F& cf = f; in test1() local
49 assert(cf(ap, 2) == 'b'); in test1()
62 const F& cf = f; in test2() local
63 assert(cf(ap, 2, 3.5) == 'c'); in test2()
Dmember_function_const_volatile.pass.cpp36 const F& cf = f; in test0() local
37 assert(cf(ap) == 'a'); in test0()
52 const F& cf = f; in test1() local
53 assert(cf(ap, 2) == 'b'); in test1()
68 const F& cf = f; in test2() local
69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
Dmember_function_volatile.pass.cpp36 const F& cf = f; in test0() local
37 assert(cf(ap) == 'a'); in test0()
52 const F& cf = f; in test1() local
53 assert(cf(ap, 2) == 'b'); in test1()
68 const F& cf = f; in test2() local
69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
Dmember_function_const.pass.cpp36 const F& cf = f; in test0() local
37 assert(cf(ap) == 'a'); in test0()
52 const F& cf = f; in test1() local
53 assert(cf(ap, 2) == 'b'); in test1()
68 const F& cf = f; in test2() local
69 assert(cf(ap, 2, 3.5) == 'c'); in test2()
Dmember_data.pass.cpp35 const F& cf = f; in test() local
36 assert(cf(ap) == f(ap)); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pair.astuple/
Dpairs.by.type1.fail.cpp18 typedef std::complex<float> cf; in main() typedef
20 assert ( std::get<cf>(t1) == cf {1,2} ); // no such type in main()
Dpairs.by.type.pass.cpp19 typedef std::complex<float> cf; in main() typedef
21 auto t1 = std::make_pair<int, cf> ( 42, { 1,2 } ); in main()
23 assert ( std::get<cf>(t1).real() == 1 ); in main()
24 assert ( std::get<cf>(t1).imag() == 2 ); in main()
Dpairs.by.type2.fail.cpp18 typedef std::complex<float> cf; in main() typedef

12