<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/math/special.py#L1195-L1219) |

Computes the logarithm of [`tfp.math.erfcx`](https://www.tensorflow.org/probability/api_docs/python/tfp/math/erfcx) of `x` element-wise.

    tfp.math.logerfcx(
        x, name=None
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [TFP Release Notes notebook (0.13.0)](https://www.tensorflow.org/probability/examples/TFP_Release_Notebook_0_13_0) |

> [!NOTE]
> **Note:** This is mathematically equivalent to computing `log(erfcx(x))` however is more numerically stable.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | A Tensor with type `float32` or `float64`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `logerfcx` | log(erfcx(x)) evaluated at `x`. A Tensor with the same shape and same dtype as `x`. |

<br />