code: def logsf(x, a, b, loc=0, scale=1):
      x, a, b, loc, scale = promote_args_inexact(
          "truncnorm.logsf", x, a, b, loc, scale
      )
      return logcdf(-x, -b, -a, -loc, scale)
  
file_path: jax/jax/_src/scipy/stats/truncnorm.py
imports: import scipy.stats
  from jax import lax
  import jax.numpy
  from jax._src.numpy.util import _wraps, promote_args_inexact
  from jax._src.scipy.stats import norm
  from jax._src.scipy.special import logsumexp, log_ndtr, ndtr
label_desc: Use image node_id 5 for calling a global function with example usage: logsf(x, a, b, loc, scale) and returns: logcdf