code: def numeric_value(maxprec, maxexp):
      if randrange(100) > 90:
          return infinity()
      exp_part = ""
      if randrange(100) > 60:
          exp_part = exponent_part(maxexp)
      return "".join((decimal_part(maxprec), exp_part))
  
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 10 for calling a global function with example usage: numeric_value(maxprec, maxexp) and returns: str, infinity