def visit_Num(self, node):
        """
        Set type for number.

        It could be int, long or float so we use the default python to pythonic
        type converter.
        """
        ty = type(node.n)
        sty = pytype_to_ctype(ty)
        if node in self.immediates:
            sty = "std::integral_constant<%s, %s>" % (sty, node.n)

        self.result[node] = self.builder.NamedType(sty)
Set type for number.

        It could be int, long or float so we use the default python to pythonic
        type converter.