Exemplo n.º 1
0
    def isSmallNumberConstant(node):
        value = node.getConstant()

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

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