ack/lang/cem/ctest/ctgen/clu.cem.g

112 lines
2.9 KiB
Plaintext
Raw Normal View History

1985-02-06 21:25:27 +00:00
40000 + 8012
40000 - 8012
40000 / 8012
40000 % 8012
40000 * 8012
40000 & 8012
40000 | 8012
40000 ^ 8012
40000 || 8012
40000 && 8012
40000 << 9
40000 >> 9
-40000
!40000
~40000
40000 == 8012
40000 != 8012
40000 <= 8012
40000 >= 8012
40000 < 8012
40000 > 8012
40000 ? 40000 : 8012
1987-02-24 10:15:46 +00:00
x = 40000 40000
x += 40000 40010
x -= 40000 -39990
1985-02-06 21:25:27 +00:00
x /= 40000 0
x %= 40000 10
1987-02-24 10:15:46 +00:00
x *= 40000 400000
1985-02-06 21:25:27 +00:00
x &= 40000 0
1987-02-24 10:15:46 +00:00
x |= 40000 40010
x ^= 40000 40010
1985-02-06 21:25:27 +00:00
x <<= 9 5120
x >>= 9 0
x ++ 11
x -- 9
-- x 9
++ x 11
1987-02-24 10:15:46 +00:00
y = ( 40000 + 8012 ) 48012
1985-02-06 21:25:27 +00:00
y = ( 40000 - 8012 ) 31988
y = ( 40000 / 8012 ) 4
y = ( 40000 % 8012 ) 7952
1987-02-24 10:15:46 +00:00
y = ( 40000 * 8012 ) 320480000
1985-02-06 21:25:27 +00:00
y = ( 40000 & 8012 ) 7232
1987-02-24 10:15:46 +00:00
y = ( 40000 | 8012 ) 40780
y = ( 40000 ^ 8012 ) 33548
1985-02-06 21:25:27 +00:00
y = ( 40000 || 8012 ) 1
y = ( 40000 && 8012 ) 1
1987-02-24 10:15:46 +00:00
y = ( 40000 << 9 ) 20480000
1985-02-06 21:25:27 +00:00
y = ( 40000 >> 9 ) 78
1987-02-24 10:15:46 +00:00
y = ( -40000 ) -40000
1985-02-06 21:25:27 +00:00
y = ( !40000 ) 0
1987-02-24 10:15:46 +00:00
y = ( ~40000 ) -40001
1985-02-06 21:25:27 +00:00
y = ( 40000 == 8012 ) 0
y = ( 40000 != 8012 ) 1
y = ( 40000 <= 8012 ) 0
y = ( 40000 >= 8012 ) 1
y = ( 40000 < 8012 ) 0
y = ( 40000 > 8012 ) 1
1987-02-24 10:15:46 +00:00
y = ( 40000 ? 40000 : 8012 ) 40000
y = ( x = 40000 ) 40000 40000
y = ( x += 40000 ) 40010 40010
y = ( x -= 40000 ) -39990 -39990
1985-02-06 21:25:27 +00:00
y = ( x /= 40000 ) 0 0
y = ( x %= 40000 ) 10 10
1987-02-24 10:15:46 +00:00
y = ( x *= 40000 ) 400000 400000
1985-02-06 21:25:27 +00:00
y = ( x &= 40000 ) 0 0
1987-02-24 10:15:46 +00:00
y = ( x |= 40000 ) 40010 40010
y = ( x ^= 40000 ) 40010 40010
1985-02-06 21:25:27 +00:00
y = ( x <<= 9 ) 5120 5120
y = ( x >>= 9 ) 0 0
y = ( x ++ ) 11 10
y = ( x -- ) 9 10
y = ( -- x ) 9 9
y = ( ++ x ) 11 11
yes if ( 40000 + 8012 ) yes() ; else no()
yes if ( 40000 - 8012 ) yes() ; else no()
yes if ( 40000 / 8012 ) yes() ; else no()
yes if ( 40000 % 8012 ) yes() ; else no()
yes if ( 40000 * 8012 ) yes() ; else no()
yes if ( 40000 & 8012 ) yes() ; else no()
yes if ( 40000 | 8012 ) yes() ; else no()
yes if ( 40000 ^ 8012 ) yes() ; else no()
yes if ( 40000 || 8012 ) yes() ; else no()
yes if ( 40000 && 8012 ) yes() ; else no()
yes if ( 40000 << 9 ) yes() ; else no()
yes if ( 40000 >> 9 ) yes() ; else no()
yes if ( -40000 ) yes() ; else no()
no if ( !40000 ) yes() ; else no()
yes if ( ~40000 ) yes() ; else no()
no if ( 40000 == 8012 ) yes() ; else no()
yes if ( 40000 != 8012 ) yes() ; else no()
no if ( 40000 <= 8012 ) yes() ; else no()
yes if ( 40000 >= 8012 ) yes() ; else no()
no if ( 40000 < 8012 ) yes() ; else no()
yes if ( 40000 > 8012 ) yes() ; else no()
yes if ( 40000 ? 40000 : 8012 ) yes() ; else no()
1987-02-24 10:15:46 +00:00
yes if ( x = 40000 ) yes() ; else no() 40000
yes if ( x += 40000 ) yes() ; else no() 40010
yes if ( x -= 40000 ) yes() ; else no() -39990
1985-02-06 21:25:27 +00:00
no if ( x /= 40000 ) yes() ; else no() 0
yes if ( x %= 40000 ) yes() ; else no() 10
1987-02-24 10:15:46 +00:00
yes if ( x *= 40000 ) yes() ; else no() 400000
1985-02-06 21:25:27 +00:00
no if ( x &= 40000 ) yes() ; else no() 0
1987-02-24 10:15:46 +00:00
yes if ( x |= 40000 ) yes() ; else no() 40010
yes if ( x ^= 40000 ) yes() ; else no() 40010
1985-02-06 21:25:27 +00:00
yes if ( x <<= 9 ) yes() ; else no() 5120
no if ( x >>= 9 ) yes() ; else no() 0
yes if ( x ++ ) yes() ; else no() 11
yes if ( x -- ) yes() ; else no() 9
yes if ( -- x ) yes() ; else no() 9
yes if ( ++ x ) yes() ; else no() 11