예제 #1
0
    def isSmallNumberConstant(node):
        value = node.getConstant()

        if isNumberConstant(value):
            return abs(int(value)) < 2**63-1
        else:
            return False
예제 #2
0
    def isSmallNumberConstant(node):
        value = node.getConstant()

        if isNumberConstant(value):
            return abs(int(value)) < 2**63 - 1
        else:
            return False
예제 #3
0
 def isNumberConstant(self):
     return isNumberConstant(self.constant)
예제 #4
0
 def isNumberConstant(self):
     return isNumberConstant( self.constant )