Skip to content

Commit

Permalink
unessesary score set
Browse files Browse the repository at this point in the history
even though beet compiles to the same line anyways
  • Loading branch information
Coppertine committed Aug 2, 2023
1 parent 568bae9 commit 571688b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/b64/functions/math/bitwise/rshift.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ a = score["$a"]
b = score["$b"]
output = score["$output"]
if score var a matches 1.. run function b64:math/bitwise/rshift_sign_prop:
output = a
output = output / pow(2, b)
output = a / pow(2, b)
if score var a matches ..-1 run function b64:math/bitwise/rshift_zero_filling_neg:
# overflow to clear sign bit
a += 2147483647
Expand Down

0 comments on commit 571688b

Please sign in to comment.