Commit 563d0218 authored by Christophe Benz's avatar Christophe Benz

Sightly update "arr" function according to presentation slides

parent abc8bdbc
......@@ -10,7 +10,8 @@ import math
# M language functions translated to Python
arr = round
def arr(value):
return int(value + 0.5 if value > 0 else value - 0.5)
inf = math.floor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment