Difference between revisions of "SHIP:Sail:log1p"

From Serious Documentation
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{SailFuncTableStart|}}<onlyinclude>
 
{{SailFuncTableStart|}}<onlyinclude>
|{{SailFunc|log1p}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return the natural log of a number + 1{{v5}}</onlyinclude>
+
|{{SailFunc|log1p}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return the natural log of a number + 1</onlyinclude>
 
|}
 
|}
 
== See Also: ==
 
== See Also: ==
Line 41: Line 41:
 
|}
 
|}
  
[[Categories: Numeric Functions]]
+
[[Category:Numeric Functions]]

Latest revision as of 10:08, 14 October 2016

Function Returns Introduced Description
log1p Float v5.1.0 Return the natural log of a number + 1

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...