/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | acos.pass.cpp | 47 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 …]
|
D | atanh.pass.cpp | 45 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 …]
|
D | asin.pass.cpp | 45 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 …]
|
D | asinh.pass.cpp | 45 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 …]
|
D | sqrt.pass.cpp | 45 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 …]
|
D | log.pass.cpp | 44 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()
|
D | sinh.pass.cpp | 45 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()
|
D | acosh.pass.cpp | 45 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 …]
|
D | exp.pass.cpp | 45 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()
|
D | tanh.pass.cpp | 45 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()
|
D | cosh.pass.cpp | 46 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()
|
D | log10.pass.cpp | 47 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()
|
D | atan.pass.cpp | 49 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()
|
D | cos.pass.cpp | 49 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()
|
D | tan.pass.cpp | 50 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()
|
D | sin.pass.cpp | 50 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()
|
D | pow_complex_complex.pass.cpp | 51 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/ |
D | signbit.m4 | 1 # 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/ |
D | arg.pass.cpp | 43 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()
|
D | proj.pass.cpp | 49 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()
|
D | polar.pass.cpp | 58 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/ |
D | ppc64_helpers.h | 937 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/ |
D | print-ntp.c | 386 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/ |
D | c99_math.h | 122 #ifndef signbit 123 #define signbit(x) ((x) < 0.0f) macro 201 using std::signbit;
|
/external/compiler-rt/test/builtins/Unit/ |
D | powidf2_test.c | 25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powidf2()
|