Returns the natural logarithm of 1 + a number.
Syntax
Math.log1p(x)
Return Value
If x is NaN, this function returns NaN. If x is less than zero (0), this function returns NaN.
Requirements
Supported in Microsoft Edge (Edge browser). Also supported in Store apps (Microsoft Edge on Windows 10). See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Not supported in Windows 8.1.
Applies To: Math Object
See Also
Math.log Function
Math.log10 Function
Math.log2 Function
Math.sqrt Function

