From 8981d156a9f44e5431bc330e774b3cb38a93c663 Mon Sep 17 00:00:00 2001 From: Koichi Nakamura Date: Sun, 10 Jan 2021 18:38:30 +0900 Subject: [PATCH] Update README --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 87263c5..42a57cd 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,7 @@ $ ./planck < bootstrap.fs example/fib.fs | + | add | ( a b -- c ) | c = (a + b) | | - | sub | ( a b -- c ) | c = (a - b) | | * | mul | ( a b -- c ) | c = (a * b) | -| / | div | ( a b -- c ) | c = (a / b) | -| % | mod | ( a b -- c ) | c = (a % b) | +| / | divmod | ( a b -- c d ) | c = (a mod b), d = (a / b) | | & | and | ( a b -- c ) | c = (a & b) | | \| | or | ( a b -- c ) | c = (a \| b) | | ^ | xor | ( a b -- c ) | c = (a ^ b) |