SHIP:Sail:log1p

From Serious Documentation
Revision as of 10:30, 30 September 2016 by CarltonHeyer (talk | contribs) (Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|log1p}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return the natural log of a number + 1{{v5}}</onlyin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function Returns Introduced Description
log1p Float v5.1.0 Return the natural log of a number + 1Badge SHIPv5.gif

See Also:

Prototype

Float log1p(Float n);

Parameters/Return Value

Parameter Data Type Description
n Float the number to take the natural log of
Return Float the result of log (n+1), a.k.a. ln (n+1)

Detailed Description

The log() function returns the base e log of a number + 1.

Examples

Example Result Notes
log1p(10); 2.397895...
log1p(5); 1.791759...
log1p(100); 4.6151204...