Documentation Center

  • Trial Software
  • Product Updates
我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

log1p

Compute log(1+x) accurately for small values of x

Syntax

y = log1p(x)

Description

y = log1p(x) computes log(1+x), compensating for the roundoff in 1+x. log1p(x) is more accurate than log(1+x) for small values of x. For small x, log1p(x) is approximately x, whereas log(1+x) can be zero.

See Also

|

Was this topic helpful?