Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dacos.pass.cpp46 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
57 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
68 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
73 assert(!std::signbit(r.real())); in test_edges()
75 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
81 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()
103 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
110 else if (!std::signbit(testcases[i].real()) && !std::signbit(testcases[i].imag())) in test_edges()
112 assert(!std::signbit(r.real())); in test_edges()
[all …]
Datanh.pass.cpp44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
56 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
63 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
77 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
78 if (std::signbit(testcases[i].imag())) in test_edges()
86 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
87 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dasinh.pass.cpp44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
50 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
51 if (std::signbit(testcases[i].imag())) in test_edges()
59 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
60 if (std::signbit(testcases[i].imag())) in test_edges()
73 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
75 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
80 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
81 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dasin.pass.cpp44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
57 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
72 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
76 if (std::signbit(testcases[i].real())) in test_edges()
81 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
87 assert(std::signbit(testcases[i].real()) != std::signbit(r.imag())); in test_edges()
106 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); 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.cpp44 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()
71 assert(std::signbit(r.real()) == std::signbit(testcases[i].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(testcases[i].real() * cos(testcases[i].imag()))); in test_edges()
80 assert(std::signbit(r.imag()) == std::signbit(sin(testcases[i].imag()))); in test_edges()
96 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
Dacosh.pass.cpp44 assert(!std::signbit(r.real())); in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
53 assert(!std::signbit(r.real())); in test_edges()
55 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
60 assert(!std::signbit(r.real())); in test_edges()
61 if (std::signbit(testcases[i].imag())) in test_edges()
70 if (std::signbit(testcases[i].imag())) in test_edges()
84 if (std::signbit(testcases[i].imag())) in test_edges()
94 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
100 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dcosh.pass.cpp45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
70 assert(!std::signbit(r.real())); in test_edges()
72 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
77 assert(std::signbit(r.real()) == std::signbit(cos(testcases[i].imag()))); in test_edges()
79 … assert(std::signbit(r.imag()) == std::signbit(testcases[i].real() * sin(testcases[i].imag()))); in test_edges()
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.cpp44 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()
62 assert(std::signbit(r.imag()) == std::signbit(sin(2*testcases[i].imag()))); in test_edges()
78 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
Dcos.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()
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()
Dsin.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()
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/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()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstSimplify/
Dnegate.ll32 %signbit = and i8 %x, 128
33 %neg = sub nsw i8 0, %signbit
41 %signbit = shl <2 x i8> %x, <i8 7, i8 7>
42 %neg = sub nsw <2 x i8> zeroinitializer, %signbit
50 %signbit = shl <2 x i8> %x, <i8 7, i8 7>
51 %neg = sub nsw <2 x i8> <i8 undef, i8 0>, %signbit
60 %signbit = shl i8 %x, 7
61 %neg = sub i8 0, %signbit
70 %signbit = and <2 x i8> %x, <i8 128, i8 128>
71 %neg = sub <2 x i8> zeroinitializer, %signbit
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dnegate.ll27 %signbit = and i8 %x, 128
28 %neg = sub nsw i8 0, %signbit
37 %signbit = shl <4 x i32> %x, <i32 31, i32 31, i32 31, i32 31>
38 %neg = sub nsw <4 x i32> zeroinitializer, %signbit
48 %signbit = shl i8 %x, 7
49 %neg = sub i8 0, %signbit
58 %signbit = and <4 x i32> %x, <i32 2147483648, i32 2147483648, i32 2147483648, i32 2147483648>
59 %neg = sub <4 x i32> zeroinitializer, %signbit
/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dabs-1.ll384 %signbit = ashr i8 %x, 7
385 %add = add i8 %signbit, %x
386 %abs = xor i8 %add, %signbit
397 %signbit = ashr i8 %x, 7
398 %add = add nsw i8 %signbit, %x
399 %abs = xor i8 %add, %signbit
412 %signbit = ashr i8 %x, 7
413 %add = add nuw i8 %signbit, %x
414 %abs = xor i8 %add, %signbit
425 %signbit = ashr <2 x i8> %x, <i8 7, i8 7>
[all …]
/external/mesa3d/include/
Dc99_math.h122 #ifndef signbit
123 #define signbit(x) ((x) < 0.0f) macro
201 using std::signbit;
/external/honggfuzz/linux/
Dpt.c87 uint64_t signbit, mask; in sext() local
89 signbit = 1ull << (sign - 1); in sext()
92 return val & signbit ? val | mask : val & ~mask; in sext()

1234