code: def all_ternary(prec, exp_range, itr):
      for a, b, c in tern_close_numbers(
          prec, exp_range, -exp_range, itr
      ):
          yield a, b, c
      for a, b, c in tern_incr_digits(prec, exp_range, itr):
          yield a, b, c
      for a, b, c in tern_randfloat():
          yield a, b, c
      for a, b, c in tern_random_mixed_op(
          prec, exp_range, -exp_range, itr
      ):
          yield a, b, c
      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
  
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 53 for calling a global function with example usage: all_ternary(prec, exp_range, itr) without return types