code: def quadraticstring(ctx, t, a, b, c):
      if c < 0:
          a, b, c = -a, -b, -c
      u1 = (-b + ctx.sqrt(b**2 - 4 * a * c)) / (2 * c)
      u2 = (-b - ctx.sqrt(b**2 - 4 * a * c)) / (2 * c)
      if abs(u1 - t) < abs(u2 - t):
          if b:
              s = "((%s+sqrt(%s))/%s)" % (-b, b**2 - 4 * a * c, 2 * c)
          else:
              s = "(sqrt(%s)/%s)" % (-4 * a * c, 2 * c)
      else:
          if b:
              s = "((%s-sqrt(%s))/%s)" % (-b, b**2 - 4 * a * c, 2 * c)
          else:
              s = "(-sqrt(%s)/%s)" % (-4 * a * c, 2 * c)
      return s
  
file_path: catboost/contrib/python/mpmath/py3/mpmath/identification.py
imports: from .libmp.backend import xrange
  from .libmp import int_types, sqrt_fixed
label_desc: Use image node_id 7 for calling a global function with example usage: quadraticstring(ctx, t, a, b, c) and returns: s