Home
last modified time | relevance | path

Searched refs:signbit (Results 1 – 25 of 34) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
Dacos.pass.cpp47 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
58 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
69 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
74 assert(!std::signbit(r.real())); in test_edges()
76 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
82 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
104 assert(std::signbit(x[i].imag()) != std::signbit(r.imag())); in test_edges()
111 else if (!std::signbit(x[i].real()) && !std::signbit(x[i].imag())) in test_edges()
113 assert(!std::signbit(r.real())); in test_edges()
[all …]
Datanh.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
51 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
57 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
59 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
64 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
78 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
79 if (std::signbit(x[i].imag())) in test_edges()
87 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
88 if (std::signbit(x[i].imag())) in test_edges()
[all …]
Dasin.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
51 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
53 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
58 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
73 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
77 if (std::signbit(x[i].real())) in test_edges()
82 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(x[i].real()) != std::signbit(r.imag())); in test_edges()
94 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
[all …]
Dasinh.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
51 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
52 if (std::signbit(x[i].imag())) in test_edges()
65 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
67 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
72 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
73 if (std::signbit(x[i].imag())) in test_edges()
81 assert(std::signbit(x[i].real()) == std::signbit(r.real())); in test_edges()
88 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
[all …]
Dsqrt.pass.cpp45 assert(!std::signbit(r.real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
53 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
63 assert(!std::signbit(r.real())); in test_edges()
65 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
72 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
90 else if (std::signbit(x[i].imag())) in test_edges()
92 assert(!std::signbit(r.real())); in test_edges()
93 assert(std::signbit(r.imag())); in test_edges()
97 assert(!std::signbit(r.real())); in test_edges()
[all …]
Dlog.pass.cpp44 if (std::signbit(x[i].real())) in test_edges()
48 if (std::signbit(x[i].imag())) in test_edges()
58 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
87 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
92 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
102 if (std::signbit(x[i].imag())) in test_edges()
114 assert( std::signbit(r.real())); in test_edges()
115 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
119 assert(!std::signbit(r.real())); in test_edges()
120 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
Dsinh.pass.cpp46 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
48 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
73 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
75 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
80 assert(std::signbit(r.real()) == std::signbit(x[i].real() * cos(x[i].imag()))); in test_edges()
82 assert(std::signbit(r.imag()) == std::signbit(sin(x[i].imag()))); in test_edges()
98 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
Dacosh.pass.cpp45 assert(!std::signbit(r.real())); in test_edges()
46 if (std::signbit(x[i].imag())) in test_edges()
54 assert(!std::signbit(r.real())); in test_edges()
56 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
62 if (std::signbit(x[i].imag())) in test_edges()
76 if (std::signbit(x[i].imag())) in test_edges()
86 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
92 if (std::signbit(x[i].imag())) in test_edges()
101 if (std::signbit(x[i].imag())) in test_edges()
130 assert(!std::signbit(r.real())); in test_edges()
[all …]
Dtanh.pass.cpp46 assert(std::signbit(r.real()) == std::signbit(x[i].real())); in test_edges()
48 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
64 assert(std::signbit(r.imag()) == std::signbit(sin(2*x[i].imag()))); in test_edges()
80 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
Dexp.pass.cpp45 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
62 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
102 assert(!std::signbit(r.real())); in test_edges()
103 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
Dcosh.pass.cpp47 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
72 assert(!std::signbit(r.real())); in test_edges()
74 assert(std::signbit(r.imag()) == std::signbit(x[i].imag())); in test_edges()
79 assert(std::signbit(r.real()) == std::signbit(cos(x[i].imag()))); in test_edges()
81 assert(std::signbit(r.imag()) == std::signbit(x[i].real() * sin(x[i].imag()))); in test_edges()
Dlog10.pass.cpp48 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
55 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dcos.pass.cpp50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Datan.pass.cpp50 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
57 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dsin.pass.cpp51 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
58 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dtan.pass.cpp52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dpow_complex_complex.pass.cpp52 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
59 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
Darg.pass.cpp43 if (std::signbit(x[i].real())) in test_edges()
45 if (std::signbit(x[i].imag())) in test_edges()
52 assert(std::signbit(x[i].imag()) == std::signbit(r)); in test_edges()
67 if (std::signbit(x[i].imag())) in test_edges()
75 assert(std::signbit(x[i].imag()) == std::signbit(r)); in test_edges()
105 if (std::signbit(x[i].imag())) in test_edges()
113 assert(std::signbit(r) == std::signbit(x[i].imag())); in test_edges()
Dproj.pass.cpp49 assert(std::signbit(real(r)) == std::signbit(real(x[i]))); in test_edges()
50 assert(std::signbit(imag(r)) == std::signbit(imag(x[i]))); in test_edges()
55 assert(std::signbit(imag(r)) == std::signbit(imag(x[i]))); in test_edges()
Dpolar.pass.cpp58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
Dabs.pass.cpp39 assert(!std::signbit(r)); in test_edges()
Dnorm.pass.cpp39 assert(!std::signbit(r)); in test_edges()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
Dsign.hpp30 return (std::signbit)(x); in signbit_impl()
109 template<class T> int (signbit)(T x)
120 return (z == 0) ? 0 : (boost::math::signbit)(z) ? -1 : 1; in BOOST_NO_MACRO_EXPAND()
136 return (boost::math::signbit)(x) != (boost::math::signbit)(y) ? (boost::math::changesign)(x) : x; in BOOST_NO_MACRO_EXPAND()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dmath_win32.h77 _LIBCPP_ALWAYS_INLINE bool signbit( double num ) in signbit() function
98 return (signbit (x) != signbit (y) ? - x : x); in copysignf()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h539 template<typename _Tp> inline int __capture_signbit(_Tp __f) { return signbit(__f); }
544 #undef signbit
549 template<typename _Tp> inline int signbit(_Tp __f) { return __capture_signbit(__f); } in signbit() function
587 using __captured::signbit;

12