Skip to main content

//clika-runtime/io.clika.runtime/Ops/log1p

log1p

[common]
fun log1p(input: Tensor): Tensor

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.