Difference between revisions of "SHIP:Sail:log1p"

From Serious Documentation
Jump to: navigation, search
Line 41: Line 41:
 
|}
 
|}
  
[[Categories: Numeric Functions]]
+
[[Category:Numeric Functions]]

Revision as of 15:09, 10 October 2016

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