Add shl,shr and sar to C version

This commit is contained in:
Koichi Nakamura 2021-01-11 12:12:48 +09:00
parent 2eee79b174
commit 113f6d1225

View file

@ -169,6 +169,9 @@ defbinary("^", xor, ^, uintptr_t)
defbinary("<", lt, <, intptr_t)
defbinary("u", ult, <, uintptr_t)
defbinary("=", eq, ==, intptr_t)
defbinary("(", shl, <<, uintptr_t)
defbinary(")", shr, >>, uintptr_t)
defbinary("%", sar, >>, intptr_t)
/* File IO */
#define SUCCESS 0