예제 #1
0
 def __call__(self, state, scope, paramTypes, x):
     return checkForOverflow(paramTypes, abs(x))
예제 #2
0
 def __call__(self, state, scope, paramTypes, x):
     return checkForOverflow(["long"], long(math.floor(x + 0.5)))