Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dacos.pass.cpp47 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
58 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
69 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
74 assert(!std::signbit(r.real())); in test_edges()
76 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
82 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
104 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
111 else if (!std::signbit(testcases[i].real()) && !std::signbit(testcases[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(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
51 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
57 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
59 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
64 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
78 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
79 if (std::signbit(testcases[i].imag())) in test_edges()
87 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
88 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dasin.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
51 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
53 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
58 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
73 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
77 if (std::signbit(testcases[i].real())) in test_edges()
82 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(testcases[i].real()) != std::signbit(r.imag())); in test_edges()
107 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
[all …]
Dasinh.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
51 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
52 if (std::signbit(testcases[i].imag())) in test_edges()
65 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
67 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
72 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
73 if (std::signbit(testcases[i].imag())) in test_edges()
81 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
88 assert(std::signbit(testcases[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(testcases[i].imag())); in test_edges()
53 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
63 assert(!std::signbit(r.real())); in test_edges()
65 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
72 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
90 else if (std::signbit(testcases[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(testcases[i].real())) in test_edges()
48 if (std::signbit(testcases[i].imag())) in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
87 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
92 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
102 if (std::signbit(testcases[i].imag())) in test_edges()
114 assert( std::signbit(r.real())); in test_edges()
115 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
119 assert(!std::signbit(r.real())); in test_edges()
120 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
Dsinh.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
47 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
72 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
74 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
79 … assert(std::signbit(r.real()) == std::signbit(testcases[i].real() * cos(testcases[i].imag()))); in test_edges()
81 assert(std::signbit(r.imag()) == std::signbit(sin(testcases[i].imag()))); in test_edges()
97 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
Dacosh.pass.cpp45 assert(!std::signbit(r.real())); in test_edges()
46 if (std::signbit(testcases[i].imag())) in test_edges()
54 assert(!std::signbit(r.real())); in test_edges()
56 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
62 if (std::signbit(testcases[i].imag())) in test_edges()
76 if (std::signbit(testcases[i].imag())) in test_edges()
86 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
92 if (std::signbit(testcases[i].imag())) in test_edges()
101 if (std::signbit(testcases[i].imag())) in test_edges()
130 assert(!std::signbit(r.real())); in test_edges()
[all …]
Dexp.pass.cpp45 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
62 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
88 assert(std::signbit(testcases[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(testcases[i].imag())); in test_edges()
Dtanh.pass.cpp45 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
47 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
63 assert(std::signbit(r.imag()) == std::signbit(sin(2*testcases[i].imag()))); in test_edges()
79 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
Dcosh.pass.cpp46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
71 assert(!std::signbit(r.real())); in test_edges()
73 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
78 assert(std::signbit(r.real()) == std::signbit(cos(testcases[i].imag()))); in test_edges()
80 … assert(std::signbit(r.imag()) == std::signbit(testcases[i].real() * sin(testcases[i].imag()))); in test_edges()
Dlog10.pass.cpp47 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
54 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Datan.pass.cpp49 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
56 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dcos.pass.cpp49 assert(std::signbit(real(r)) == std::signbit(real(z))); in test_edges()
56 assert(std::signbit(imag(r)) == std::signbit(imag(z))); in test_edges()
Dtan.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.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.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()
/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(testcases[i].real())) in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r)); in test_edges()
67 if (std::signbit(testcases[i].imag())) in test_edges()
75 assert(std::signbit(testcases[i].imag()) == std::signbit(r)); in test_edges()
105 if (std::signbit(testcases[i].imag())) in test_edges()
113 assert(std::signbit(r) == std::signbit(testcases[i].imag())); in test_edges()
Dproj.pass.cpp49 assert(std::signbit(real(r)) == std::signbit(real(testcases[i]))); in test_edges()
50 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i]))); in test_edges()
55 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[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/valgrind/none/tests/ppc64/
Dppc64_helpers.h937 long signbit; in dissect_dfp128_float() local
947 signbit = (dword1 >> 63); in dissect_dfp128_float()
949 if (signbit) printf("-"); in dissect_dfp128_float()
1036 long signbit; in dissect_dfp64_float() local
1046 signbit = (dword1 >> 63); in dissect_dfp64_float()
1048 if (signbit) printf("-"); in dissect_dfp64_float()
1153 static inline unsigned long build_binary128_float(unsigned long signbit, in build_binary128_float() argument
1158 thevalue = (unsigned long) (signbit << 63) | in build_binary128_float()
1180 static inline unsigned long build_binary64_float(unsigned long signbit, in build_binary64_float() argument
1185 thevalue = (unsigned long ) (signbit << 63) | in build_binary64_float()
[all …]
/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/mesa3d/include/
Dc99_math.h122 #ifndef signbit
123 #define signbit(x) ((x) < 0.0f) macro
201 using std::signbit;
/external/compiler-rt/test/builtins/Unit/
Dpowidf2_test.c25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powidf2()

1234