code: def test_tir_too_large_literal_f64():
      # Behavior check: if literal f64 value is out of dtype range, the
      # object is still constructed, and eval to infinity.
      @T.prim_func
      def imm_overflow_fp64() -> T.float64:
          T.evaluate(T.ret(T.float64(1.7976e309), dtype="float64"))
  
      f = tvm.build(imm_overflow_fp64, target="llvm")
      assert math.isinf(f())
  
imports: import math
  import random
  import numpy
  import tvm
  import tvm.testing
  import pytest
  from tvm import tir
  from tvm.script import tir
  import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_tir_too_large_literal_f64() without return types