log1p

View page source

The Logarithm of One Plus Argument: log1p

Syntax

y = log1p ( x )

Description

Returns the value of the logarithm of one plus argument which is defined by y == log (1 + x ) .

x, y

See the Possible Types for a unary standard math function.

Atomic

This is an atomic operation .

Example

The file log1p.cpp contains an example and test of this function.