diff options
author | Eduardo Julian | 2018-05-06 03:30:47 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-05-06 03:30:47 -0400 |
commit | e65e734e5df3746ffb7df2cc9fa33826e0083fcd (patch) | |
tree | c67b1105a4b421d527804ccbfcab4d29ec20e744 /new-luxc/source/luxc/lang/translation/python/procedure | |
parent | f5a6fe62a612c0727063fa9e530d53ddda5fcd82 (diff) |
- Re-named shift-left -> left-shift, shift-right -> logical-right-shift, signed-shift-right -> arithmetic-right-shift.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python/procedure')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux index c9ebd6fd7..c201c417c 100644 --- a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux @@ -161,7 +161,7 @@ [bit//xor python.bit-xor] ) -(def: (bit//shift-left [subjectO paramO]) +(def: (bit//left-shift [subjectO paramO]) Binary (|> (python.bit-shl paramO subjectO) runtimeT.bit//64)) @@ -171,8 +171,8 @@ Binary (<op> paramO subjectO))] - [bit//shift-right python.bit-shr] - [bit//unsigned-shift-right runtimeT.bit//shift-right] + [bit//arithmetic-right-shift python.bit-shr] + [bit//logical-right-shift runtimeT.bit//logical-right-shift] ) (def: bit-procs @@ -183,9 +183,9 @@ (install "and" (binary bit//and)) (install "or" (binary bit//or)) (install "xor" (binary bit//xor)) - (install "shift-left" (binary bit//shift-left)) - (install "unsigned-shift-right" (binary bit//unsigned-shift-right)) - (install "shift-right" (binary bit//shift-right)) + (install "left-shift" (binary bit//left-shift)) + (install "logical-right-shift" (binary bit//logical-right-shift)) + (install "arithmetic-right-shift" (binary bit//arithmetic-right-shift)) ))) ## [[Arrays]] |