/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | acos.pass.cpp | 47 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 …]
|
D | atanh.pass.cpp | 45 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 …]
|
D | asin.pass.cpp | 45 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 …]
|
D | asinh.pass.cpp | 45 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 …]
|
D | sqrt.pass.cpp | 45 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 …]
|
D | log.pass.cpp | 44 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()
|
D | sinh.pass.cpp | 46 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()
|
D | acosh.pass.cpp | 45 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 …]
|
D | exp.pass.cpp | 45 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()
|
D | tanh.pass.cpp | 46 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()
|
D | cosh.pass.cpp | 47 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()
|
D | log10.pass.cpp | 48 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()
|
D | cos.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 | 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()
|
D | atan.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 | tan.pass.cpp | 52 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()
|
D | pow_complex_complex.pass.cpp | 52 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/ |
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(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()
|
D | proj.pass.cpp | 49 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()
|
/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/libcxx/include/support/win32/ |
D | math_win32.h | 79 _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/ |
D | powitf2_test.c | 28 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powitf2()
|
D | powisf2_test.c | 25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powisf2()
|
D | powidf2_test.c | 25 int correct = (x == expected) && (signbit(x) == signbit(expected)); in test__powidf2()
|