aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/qintc/qintc.out
blob: c78f02ab405590f24f249173e7a02e0a948ad779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
QIntC::to_int<int32_t>(i1): -1153374643 -1153374643 PASSED
QIntC::to_uint<uint32_t>(u1): 3141592653 3141592653 PASSED
QIntC::to_int<uint32_t>(u1): integer out of range converting 3141592653 from a 4-byte unsigned type to a 4-byte signed type PASSED
QIntC::to_uint<int32_t>(i1): integer out of range converting -1153374643 from a 4-byte signed type to a 4-byte unsigned type PASSED
QIntC::to_int<uint64_t>(ul1): integer out of range converting 1099511627776 from a 8-byte unsigned type to a 4-byte signed type PASSED
QIntC::to_int<uint64_t>(ul2): 12345 12345 PASSED
QIntC::to_uint<uint64_t>(ul2): 12345 12345 PASSED
QIntC::to_offset<uint32_t>(u1): 3141592653 3141592653 PASSED
QIntC::to_offset<int32_t>(i1): -1153374643 -1153374643 PASSED
QIntC::to_ulonglong<int32_t>(i1): integer out of range converting -1153374643 from a 4-byte signed type to a 8-byte unsigned type PASSED
QIntC::to_char<int32_t>(i2): 81 Q PASSED
QIntC::to_uchar<int32_t>(i2): 81 Q PASSED
QIntC::to_uchar<signed char>(c1): integer out of range converting ÷ from a 1-byte signed type to a 1-byte unsigned type PASSED
QIntC::to_uchar<char>(c2): W W PASSED
QIntC::to_char<char>(c2): W W PASSED
1 + 2: okay PASSED
-1 + 2: okay PASSED
-100 + -200: okay PASSED
max_ll + 0LL: okay PASSED
max_ll + 1LL: adding 1 to 9223372036854775807 would cause an integer overflow PASSED
max_ll + 0LL: okay PASSED
max_ll + 1LL: adding 1 to 9223372036854775807 would cause an integer overflow PASSED
max_ull + 0ULL: okay PASSED
max_ull + 1ULL: adding 1 to 18446744073709551615 would cause an integer overflow PASSED
min_ll + 0LL: okay PASSED
min_ll + -1LL: adding -1 to -9223372036854775808 would cause an integer underflow PASSED
max_sc + max_sc: adding  to  would cause an integer overflow PASSED
'!' + '#': okay PASSED
1 - 2: okay PASSED
-1 - -2: okay PASSED
1 - 10: okay PASSED
-1 - -10: okay PASSED
0LL - min_ll: subtracting -9223372036854775808 from 0 would cause an integer overflow PASSED
1LL - min_ll: subtracting -9223372036854775808 from 1 would cause an integer overflow PASSED
0LL - max_ll: okay PASSED
-1LL - max_ll: okay PASSED
-2LL - max_ll: subtracting 9223372036854775807 from -2 would cause an integer underflow PASSED