code: def render_const(self, x: Union[float, int], var_dtype) -> str:
      if math.isnan(x):
          return "(0.0 / 0.0)"
      elif math.isinf(x):
          return ("-" if x < 0 else "") + "(1./0.)"
      return self.render_cast(
          [
              "({:.1f})".format(x)
              if x == int(x) and dtypes.is_float(var_dtype)
              else f"({x})"
          ]
          * var_dtype.sz,
          var_dtype,
      )
  
file_path: tinygrad/extra/backends/cstyle.py
label_desc: Use image node_id 1 for calling the GLSLLanguage obj's underlying member method code with example usage: obj.render_const(x, var_dtype) and returns: self, str, unknown