summaryrefslogtreecommitdiff
path: root/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log')
-rw-r--r--src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log b/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log
new file mode 100644
index 000000000..dcaba007d
--- /dev/null
+++ b/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/int_datatype/golden/int_datatype.log
@@ -0,0 +1,46 @@
+SystemC Simulation
+int <= int
+---------------------
+A = 5 5
+B = -12 -12
+
+op1 operator op2 result [All operands are int]
+----------------------------------------------------------------
+13 * 3 = 39
+13 / 3 = 4
+13 % 3 = 1
+13 + 3 = 16
+13 - 3 = 10
+!(13) = 0
+13 && 3 = 1
+13 || 3 = 1
+13 < 3 = 0
+13 <= 3 = 0
+13 > 3 = 1
+13 >= 3 = 1
+13 += 3 = 16
+13 -= 3 = 10
+13 *= 3 = 39
+13 /= 3 = 4
+13 %= 3 = 1
+13 <<= 3 = 104
+13 >>= 3 = 1
+13 &= 3 = 1
+13 ^= 3 = 14
+13 |= 3 = 15
+ ()++ 3 = 3
+ ++() 3 = 4
+ ()-- 3 = 3
+ --() 3 = 2
+13 > ?: 3 = 1
+13 < ?: 3 = 0
+13 , 3 = 3
+~(13) = 4294967282
+13 << 3 = 104
+13 >> 3 = 1
+13 & 3 = 1
+13 ^ 3 = 14
+13 | 3 = 15
+13 == 3 -> false
+13 != 3 -> true
+0 = 0