---
title: "log1p"
sidebar_label: "log1p"
description: "Kotlin binding reference: log1p."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[log1p](log1p.md)

# log1p

[common]\
fun [log1p](log1p.md)(input: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`log1p(input: Tensor)`: the `log1p` operator. Elementwise `log(1 + x)`, accurate for small `input`. Inputs below `-1` produce NaN; exactly `-1` produces -inf. Value-domain violations follow IEEE semantics (NaN / ±inf in the result), never an error.