code: def _hyp2f1_z_near_negative_one(a, b, c, z):
      # 2F1(a, b, c, z) = (1 - z)**(-b) * 2F1(b, c - a, c, z / (z - 1))
      # When z < -0.5, we can transform z to z / (z - 1) and make use of a
      # hypergeometric identity.
      return tf.math.exp(tf.math.xlog1py(-b, -z)) * _hyp2f1_internal(
          b, c - a, c, z / (z - 1.0)
      )
  
file_path: probability/tensorflow_probability/python/math/hypergeometric.py
imports: import functools
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.math import generic
label_desc: Use image node_id 9 for calling a global function with example usage: _hyp2f1_z_near_negative_one(a, b, c, z) and returns: unknown