code: def ternary_optarg(prec, exp_range, itr):
      for _ in range(100):
          a = randdec(prec, 2 * exp_range)
          b = randdec(prec, 2 * exp_range)
          c = randdec(prec, 2 * exp_range)
          yield a, b, c, None
          yield a, b, c, None, None
  
imports: from random import randrange, sample
  from fractions import Fraction
  from randfloat import un_randfloat, bin_randfloat, tern_randfloat
label_desc: Use image node_id 54 for calling a global function with example usage: ternary_optarg(prec, exp_range, itr) without return types