<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)