Home
last modified time | relevance | path

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

123

/external/libcxx/test/std/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 …]
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()
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()
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()
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()
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()
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()
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()
/external/bison/m4/
Dsignbit.m41 # signbit.m4 serial 13
11 AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit],
16 /* If signbit is defined as a function, don't use it, since calling it for
18 If signbit is not declared at all but exists as a library function, don't
20 If signbit is not declared at all but exists as a compiler built-in, don't
23 #ifndef signbit
24 # error "signbit should be a macro"
39 dnl GCC 4.0 and newer provides three built-ins for signbit.
43 AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_gcc],
48 # define signbit(x) \
[all …]
/external/libcxx/test/std/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()
/external/tcpdump/
Dprint-ntp.c386 int signbit; in p_ntp_delta() local
400 signbit = 0; in p_ntp_delta()
405 signbit = 1; in p_ntp_delta()
412 signbit = 0; in p_ntp_delta()
415 signbit = 1; in p_ntp_delta()
425 ND_PRINT((ndo, "%s%d.%09d", signbit ? "-" : "+", i, f)); in p_ntp_delta()
/external/libcxx/include/support/win32/
Dmath_win32.h79 _LIBCPP_ALWAYS_INLINE bool signbit( double num ) in signbit() function
100 return (signbit (x) != signbit (y) ? - x : x); in copysignf()
/external/compiler-rt/test/builtins/Unit/
Dpowisf2_test.c25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powisf2()
Dpowidf2_test.c25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powidf2()

123