예제 #1
0
 def eval(env, a, b):
     return base.number(a.eval(env) + b.eval(env))
예제 #2
0
 def with_b(b_val):
     return base.Bounce(k, base.number(a_val / b_val))
예제 #3
0
 def eval(env, v):
     return base.number(math.floor(v.eval(env).value))
예제 #4
0
 def with_val(val):
     return base.Bounce(k, base.number(math.floor(val.value)))
예제 #5
0
 def eval(env, v):
     return base.number(math.ceil(v.eval(env).value))